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

DisableGatewayAsync() public method

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

            return InvokeAsync<DisableGatewayRequest,DisableGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient