Share via


DocumentModelAdministrationClient.GetDocumentModels(CancellationToken) Method

Definition

Gets a collection of items describing the models available on this Form Recognizer resource.

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

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A collection of DocumentModelSummary items.

Applies to