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

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

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

            return InvokeAsync<DetectLabelsRequest,DetectLabelsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }