ConversationsModelFactory.InnerErrorModel 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 InnerErrorModel.
public static Azure.AI.Language.Conversations.Models.InnerErrorModel InnerErrorModel (Azure.AI.Language.Conversations.Models.InnerErrorCode code = default, string message = default, System.Collections.Generic.IReadOnlyDictionary<string,string> details = default, string target = default, Azure.AI.Language.Conversations.Models.InnerErrorModel innererror = default);
static member InnerErrorModel : Azure.AI.Language.Conversations.Models.InnerErrorCode * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Azure.AI.Language.Conversations.Models.InnerErrorModel -> Azure.AI.Language.Conversations.Models.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET