Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.ListUsersAsync C# (CSharp) Method

ListUsersAsync() public method

Initiates the asynchronous execution of the ListUsers operation.
public ListUsersAsync ( ListUsersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CognitoIdentityProvider.Model.ListUsersRequest Container for the necessary parameters to execute the ListUsers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListUsersResponse> ListUsersAsync(ListUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListUsersRequestMarshaller();
            var unmarshaller = ListUsersResponseUnmarshaller.Instance;

            return InvokeAsync<ListUsersRequest,ListUsersResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient