你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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