Amazon.KeyManagementService.AmazonKeyManagementServiceClient.ListGrantsAsync C# (CSharp) Метод

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

Initiates the asynchronous execution of the ListGrants operation.
public ListGrantsAsync ( ListGrantsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ListGrantsRequest Container for the necessary parameters to execute the ListGrants operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<ListGrantsResponse> ListGrantsAsync(ListGrantsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListGrantsRequestMarshaller();
            var unmarshaller = ListGrantsResponseUnmarshaller.Instance;

            return InvokeAsync<ListGrantsRequest,ListGrantsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonKeyManagementServiceClient