DocumentAnalysisClient.AnalyzeDocumentFromUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Analyzes pages from one or more documents, using a model built with custom documents or one of the prebuilt models provided by the Form Recognizer service.
public virtual Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeDocumentOperation AnalyzeDocumentFromUri (Azure.WaitUntil waitUntil, string modelId, Uri documentUri, Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeDocumentOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AnalyzeDocumentFromUri : Azure.WaitUntil * string * Uri * Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeDocumentOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeDocumentOperation
override this.AnalyzeDocumentFromUri : Azure.WaitUntil * string * Uri * Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeDocumentOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeDocumentOperation
Public Overridable Function AnalyzeDocumentFromUri (waitUntil As WaitUntil, modelId As String, documentUri As Uri, Optional options As AnalyzeDocumentOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AnalyzeDocumentOperation
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.
- modelId
- String
The ID of the model to use for analyzing the input documents. When using a custom built model for analysis, this parameter must be the ID attributed to the model during its creation. When using one of the service's prebuilt models, one of the supported prebuilt model IDs must be passed. Prebuilt model IDs can be found at https://aka.ms/azsdk/formrecognizer/models.
- documentUri
- Uri
The absolute URI of the remote file to analyze documents from.
- options
- AnalyzeDocumentOptions
A set of options available for configuring the analyze request. For example, specify the locale of the document, or which pages to analyze.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
An AnalyzeDocumentOperation to wait on this long-running operation. Its Value upon successful completion will contain analyzed pages from the input document.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應