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

TextAnalyticsModelFactory.TextAnalyticsError(String, String, String) Method

Definition

Initializes a new instance of TextAnalyticsError for mocking purposes.

public static Azure.AI.TextAnalytics.TextAnalyticsError TextAnalyticsError(string code, string message, string target = default);
static member TextAnalyticsError : string * string * string -> Azure.AI.TextAnalytics.TextAnalyticsError
Public Shared Function TextAnalyticsError (code As String, message As String, Optional target As String = Nothing) As TextAnalyticsError

Parameters

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

target
String

Sets the Target property.

Returns

A new instance of TextAnalyticsError for mocking purposes.

Applies to