ConversationsModelFactory.ConversationError 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 ConversationError.
public static Azure.AI.Language.Conversations.Models.ConversationError ConversationError (Azure.AI.Language.Conversations.Models.ConversationErrorCode code = default, string message = default, string target = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.ConversationError> details = default, Azure.AI.Language.Conversations.Models.InnerErrorModel innererror = default);
static member ConversationError : Azure.AI.Language.Conversations.Models.ConversationErrorCode * string * string * seq<Azure.AI.Language.Conversations.Models.ConversationError> * Azure.AI.Language.Conversations.Models.InnerErrorModel -> Azure.AI.Language.Conversations.Models.ConversationError
Public Shared Function ConversationError (Optional code As ConversationErrorCode = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IEnumerable(Of ConversationError) = Nothing, Optional innererror As InnerErrorModel = Nothing) As ConversationError
Parameters
One of a server-defined set of error codes.
- message
- String
A human-readable representation of the error.
- target
- String
The target of the error.
- details
- IEnumerable<ConversationError>
An array of details about specific errors that led to this reported error.
- innererror
- InnerErrorModel
An object containing more specific information than the current object about the error.
Returns
A new ConversationError instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET