Amazon.CloudSearchDomain.AmazonCloudSearchDomainClient.SearchAsync C# (CSharp) Метод

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

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

            return InvokeAsync<SearchRequest,SearchResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }