Udostępnij za pośrednictwem


DocumentModelAdministrationClient.GetDocumentClassifier Method

Definition

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

public virtual Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails> GetDocumentClassifier (string classifierId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDocumentClassifier : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails>
override this.GetDocumentClassifier : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails>
Public Overridable Function GetDocumentClassifier (classifierId As String, Optional cancellationToken As CancellationToken = Nothing) As 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