TextAnalysisAuthoringModelFactory.TextAuthoringModelFile(String, Uri) 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.
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.