AILanguageQuestionAnsweringAuthoringModelFactory.QuestionAnsweringAuthoringInnerErrorModel Method

Definition

Initializes a new instance of QuestionAnsweringAuthoringInnerErrorModel.

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

Parameters

code
QuestionAnsweringAuthoringInnerErrorCode

One of a server-defined set of error codes.

message
String

Error message.

details
IReadOnlyDictionary<String,String>

Error details.

target
String

Error target.

innererror
QuestionAnsweringAuthoringInnerErrorModel

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

Returns

A new QuestionAnsweringAuthoringInnerErrorModel instance for mocking.

Applies to