Amazon.CognitoSync.AmazonCognitoSyncClient.ListRecordsAsync C# (CSharp) Method

ListRecordsAsync() public method

Initiates the asynchronous execution of the ListRecords operation.
public ListRecordsAsync ( Amazon.CognitoSync.Model.ListRecordsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CognitoSync.Model.ListRecordsRequest Container for the necessary parameters to execute the ListRecords operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListRecordsResponse> ListRecordsAsync(ListRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListRecordsRequestMarshaller();
            var unmarshaller = ListRecordsResponseUnmarshaller.Instance;

            return InvokeAsync<ListRecordsRequest,ListRecordsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonCognitoSyncClient::ListRecordsAsync ( Amazon.CognitoSync.Model.ListRecordsRequest request, ListRecordsResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void