Amazon.MachineLearning.AmazonMachineLearningClient.PredictAsync C# (CSharp) Метод

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

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

            return InvokeAsync<PredictRequest,PredictResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonMachineLearningClient::PredictAsync ( string mlModelId, string predictEndpoint, string>.Dictionary record, System cancellationToken = default(CancellationToken) ) : Task
AmazonMachineLearningClient