Amazon.StorageGateway.AmazonStorageGatewayClient.ShutdownGatewayAsync C# (CSharp) Method

ShutdownGatewayAsync() public method

Initiates the asynchronous execution of the ShutdownGateway operation.
public ShutdownGatewayAsync ( ShutdownGatewayRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ShutdownGatewayRequest Container for the necessary parameters to execute the ShutdownGateway operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ShutdownGatewayResponse> ShutdownGatewayAsync(ShutdownGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ShutdownGatewayRequestMarshaller();
            var unmarshaller = ShutdownGatewayResponseUnmarshaller.Instance;

            return InvokeAsync<ShutdownGatewayRequest,ShutdownGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient