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

TextAnalysisAuthoringModelFactory.TextAuthoringModelFile(String, Uri) Method

Definition

Initializes a new instance of TextAuthoringModelFile.

public static Azure.AI.Language.Text.Authoring.TextAuthoringModelFile TextAuthoringModelFile(string name = default, Uri contentUri = default);
static member TextAuthoringModelFile : string * Uri -> Azure.AI.Language.Text.Authoring.TextAuthoringModelFile
Public Shared Function TextAuthoringModelFile (Optional name As String = Nothing, Optional contentUri As Uri = Nothing) As TextAuthoringModelFile

Parameters

name
String

The name of the file.

contentUri
Uri

The URI to retrieve the content of the file.

Returns

A new TextAuthoringModelFile instance for mocking.

Applies to