Amazon.Rekognition.AmazonRekognitionClient.IndexFacesAsync C# (CSharp) Метод

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

Initiates the asynchronous execution of the IndexFaces operation.
public IndexFacesAsync ( IndexFacesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Rekognition.Model.IndexFacesRequest Container for the necessary parameters to execute the IndexFaces operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<IndexFacesResponse> IndexFacesAsync(IndexFacesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new IndexFacesRequestMarshaller();
            var unmarshaller = IndexFacesResponseUnmarshaller.Instance;

            return InvokeAsync<IndexFacesRequest,IndexFacesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }