Bagikan melalui


DocumentAnalysisClient.ClassifyDocumentFromUri Method

Definition

Classifies one or more documents using a document classifier built with custom documents.

public virtual Azure.AI.FormRecognizer.DocumentAnalysis.ClassifyDocumentOperation ClassifyDocumentFromUri (Azure.WaitUntil waitUntil, string classifierId, Uri documentUri, System.Threading.CancellationToken cancellationToken = default);
abstract member ClassifyDocumentFromUri : Azure.WaitUntil * string * Uri * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.DocumentAnalysis.ClassifyDocumentOperation
override this.ClassifyDocumentFromUri : Azure.WaitUntil * string * Uri * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.DocumentAnalysis.ClassifyDocumentOperation
Public Overridable Function ClassifyDocumentFromUri (waitUntil As WaitUntil, classifierId As String, documentUri As Uri, Optional cancellationToken As CancellationToken = Nothing) As ClassifyDocumentOperation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation.

classifierId
String

The ID of the document classifier to use.

documentUri
Uri

The absolute URI of the remote file to classify documents from.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A ClassifyDocumentOperation to wait on this long-running operation. Its Value upon successful completion will contain documents classified from the input.

Applies to