DocumentIntelligenceModelFactory.DocumentIntelligenceError 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 DocumentIntelligenceError.
public static Azure.AI.DocumentIntelligence.DocumentIntelligenceError DocumentIntelligenceError (string code = default, string message = default, string target = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentIntelligenceError> details = default, Azure.AI.DocumentIntelligence.InnerError innererror = default);
static member DocumentIntelligenceError : string * string * string * seq<Azure.AI.DocumentIntelligence.DocumentIntelligenceError> * Azure.AI.DocumentIntelligence.InnerError -> Azure.AI.DocumentIntelligence.DocumentIntelligenceError
Public Shared Function DocumentIntelligenceError (Optional code As String = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IEnumerable(Of DocumentIntelligenceError) = Nothing, Optional innererror As InnerError = Nothing) As DocumentIntelligenceError
Parameters
- code
- String
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<DocumentIntelligenceError>
An array of details about specific errors that led to this reported error.
- innererror
- InnerError
An object containing more specific information than the current object about the error.
Returns
A new DocumentIntelligenceError instance for mocking.
Applies to
Azure SDK for .NET