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

TextAnalysisModelFactory.InnerErrorModel Method

Definition

Initializes a new instance of InnerErrorModel.

public static Azure.AI.Language.Text.InnerErrorModel InnerErrorModel(Azure.AI.Language.Text.InnerErrorCode code = default, string message = default, System.Collections.Generic.IReadOnlyDictionary<string,string> details = default, string target = default, Azure.AI.Language.Text.InnerErrorModel innererror = default);
static member InnerErrorModel : Azure.AI.Language.Text.InnerErrorCode * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Azure.AI.Language.Text.InnerErrorModel -> Azure.AI.Language.Text.InnerErrorModel
Public Shared Function InnerErrorModel (Optional code As InnerErrorCode = Nothing, Optional message As String = Nothing, Optional details As IReadOnlyDictionary(Of String, String) = Nothing, Optional target As String = Nothing, Optional innererror As InnerErrorModel = Nothing) As InnerErrorModel

Parameters

code
InnerErrorCode

One of a server-defined set of error codes.

message
String

Error message.

details
IReadOnlyDictionary<String,String>

Error details.

target
String

Error target.

innererror
InnerErrorModel

An object containing more specific information than the current object about the error.

Returns

A new InnerErrorModel instance for mocking.

Applies to