FormRecognizerClientExtensions.GetCustomModelAsync Method

Definition

Get Model

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.ModelResult> GetCustomModelAsync (this Microsoft.Azure.CognitiveServices.FormRecognizer.IFormRecognizerClient operations, Guid id, System.Threading.CancellationToken cancellationToken = default);
static member GetCustomModelAsync : Microsoft.Azure.CognitiveServices.FormRecognizer.IFormRecognizerClient * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.ModelResult>
<Extension()>
Public Function GetCustomModelAsync (operations As IFormRecognizerClient, id As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ModelResult)

Parameters

operations
IFormRecognizerClient

The operations group for this extension method.

id
Guid

Model identifier.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get information about a model.

Applies to