Amazon.AppStream.AmazonAppStreamClient.BeginStopFleet C# (CSharp) Method

BeginStopFleet() public method

Initiates the asynchronous execution of the StopFleet operation.
public BeginStopFleet ( StopFleetRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AppStream.Model.StopFleetRequest Container for the necessary parameters to execute the StopFleet operation on AmazonAppStreamClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult
        public IAsyncResult BeginStopFleet(StopFleetRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new StopFleetRequestMarshaller();
            var unmarshaller = StopFleetResponseUnmarshaller.Instance;

            return BeginInvoke<StopFleetRequest>(request, marshaller, unmarshaller,
                callback, state);
        }