Amazon.CloudSearch.AmazonCloudSearchClient.IndexDocumentsAsync C# (CSharp) Méthode

IndexDocumentsAsync() public méthode

Initiates the asynchronous execution of the IndexDocuments operation.
public IndexDocumentsAsync ( IndexDocumentsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudSearch.Model.IndexDocumentsRequest Container for the necessary parameters to execute the IndexDocuments operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<IndexDocumentsResponse> IndexDocumentsAsync(IndexDocumentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new IndexDocumentsRequestMarshaller();
            var unmarshaller = IndexDocumentsResponseUnmarshaller.Instance;

            return InvokeAsync<IndexDocumentsRequest,IndexDocumentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }