ChatModelFactory.ChatError 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 ChatError.
public static Azure.Communication.Chat.ChatError ChatError(string code = default, string message = default, string target = default, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatError> details = default, Azure.Communication.Chat.ChatError innerError = default);
static member ChatError : string * string * string * seq<Azure.Communication.Chat.ChatError> * Azure.Communication.Chat.ChatError -> Azure.Communication.Chat.ChatError
Public Shared Function ChatError (Optional code As String = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IEnumerable(Of ChatError) = Nothing, Optional innerError As ChatError = Nothing) As ChatError
Parameters
- code
- String
The error code.
- message
- String
The error message.
- target
- String
The error target.
- details
- IEnumerable<ChatError>
Further details about specific errors that led to this error.
- innerError
- ChatError
The inner error if any.
Returns
A new ChatError instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET