Amazon.StorageGateway.AmazonStorageGatewayClient.ActivateGatewayAsync C# (CSharp) 메소드

ActivateGatewayAsync() 공개 메소드

Initiates the asynchronous execution of the ActivateGateway operation.
public ActivateGatewayAsync ( ActivateGatewayRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.StorageGateway.Model.ActivateGatewayRequest Container for the necessary parameters to execute the ActivateGateway operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task
        public Task<ActivateGatewayResponse> ActivateGatewayAsync(ActivateGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ActivateGatewayRequestMarshaller();
            var unmarshaller = ActivateGatewayResponseUnmarshaller.Instance;

            return InvokeAsync<ActivateGatewayRequest,ActivateGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient