Amazon.IoT.AmazonIoTClient.ListPolicyPrincipalsAsync C# (CSharp) Метод

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

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

            return InvokeAsync<ListPolicyPrincipalsRequest,ListPolicyPrincipalsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonIoTClient