你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.
Overloads
DocumentIntelligenceError(String, String, String, IEnumerable<DocumentIntelligenceError>, DocumentIntelligenceInnerError)
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.DocumentIntelligenceInnerError innerError = default);
static member DocumentIntelligenceError : string * string * string * seq<Azure.AI.DocumentIntelligence.DocumentIntelligenceError> * Azure.AI.DocumentIntelligence.DocumentIntelligenceInnerError -> 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 DocumentIntelligenceInnerError = 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
- DocumentIntelligenceInnerError
An object containing more specific information than the current object about the error.
Returns
A new DocumentIntelligenceError instance for mocking.
Applies to
DocumentIntelligenceError(String, String, String, IEnumerable<DocumentIntelligenceError>, InnerError)
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.