Amazon.CloudHSM.AmazonCloudHSMClient.ListHsmsAsync C# (CSharp) Метод

ListHsmsAsync() публичный Метод

Initiates the asynchronous execution of the ListHsms operation.
public ListHsmsAsync ( Amazon.CloudHSM.Model.ListHsmsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudHSM.Model.ListHsmsRequest Container for the necessary parameters to execute the ListHsms operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<ListHsmsResponse> ListHsmsAsync(ListHsmsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListHsmsRequestMarshaller();
            var unmarshaller = ListHsmsResponseUnmarshaller.Instance;

            return InvokeAsync<ListHsmsRequest,ListHsmsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonCloudHSMClient::ListHsmsAsync ( System cancellationToken = default(CancellationToken) ) : Task