FormTrainingClient.GetCustomModels(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

Pageable<CustomFormModelInfo>

A collection of CustomFormModelInfo items.

Applies to