FormTrainingClient.GetCustomModelsAsync(CancellationToken) Method

Definition

Gets a collection of items describing the models trained on this Cognitive Services Account and their training status.

public virtual Azure.AsyncPageable<Azure.AI.FormRecognizer.Training.CustomFormModelInfo> GetCustomModelsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCustomModelsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.FormRecognizer.Training.CustomFormModelInfo>
override this.GetCustomModelsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.FormRecognizer.Training.CustomFormModelInfo>
Public Overridable Function GetCustomModelsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CustomFormModelInfo)

Parameters

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

AsyncPageable<CustomFormModelInfo>

A collection of CustomFormModelInfo items.

Applies to