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

ListGatewaysAsync() 공개 메소드

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

            return InvokeAsync<ListGatewaysRequest,ListGatewaysResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonStorageGatewayClient::ListGatewaysAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonStorageGatewayClient