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

StartGatewayAsync() 공개 메소드

Initiates the asynchronous execution of the StartGateway operation.
public StartGatewayAsync ( StartGatewayRequest request, System cancellationToken = default(CancellationToken) ) : Task
request StartGatewayRequest Container for the necessary parameters to execute the StartGateway operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task
        public Task<StartGatewayResponse> StartGatewayAsync(StartGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new StartGatewayRequestMarshaller();
            var unmarshaller = StartGatewayResponseUnmarshaller.Instance;

            return InvokeAsync<StartGatewayRequest,StartGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient