Condividi tramite


DocumentModelAdministrationClient.GetDocumentClassifierAsync Method

Definition

Gets information about a document classifier, including the types of documents it can identify.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails>> GetDocumentClassifierAsync (string classifierId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDocumentClassifierAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails>>
override this.GetDocumentClassifierAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails>>
Public Overridable Function GetDocumentClassifierAsync (classifierId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DocumentClassifierDetails))

Parameters

classifierId
String

The ID of the classifier to retrieve.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> representing the result of the operation. It can be cast to a DocumentClassifierDetails containing information about the requested classifier.

Remarks

This method is only available for V2023_07_31 and newer.

Applies to