TextAnalysisModelFactory.AnalyzeTextError 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 AnalyzeTextError.
public static Azure.AI.Language.Text.AnalyzeTextError AnalyzeTextError (Azure.AI.Language.Text.AnalyzeTextErrorCode code = default, string message = default, string target = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.AnalyzeTextError> details = default, Azure.AI.Language.Text.InnerErrorModel innererror = default);
static member AnalyzeTextError : Azure.AI.Language.Text.AnalyzeTextErrorCode * string * string * seq<Azure.AI.Language.Text.AnalyzeTextError> * Azure.AI.Language.Text.InnerErrorModel -> Azure.AI.Language.Text.AnalyzeTextError
Public Shared Function AnalyzeTextError (Optional code As AnalyzeTextErrorCode = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IEnumerable(Of AnalyzeTextError) = Nothing, Optional innererror As InnerErrorModel = Nothing) As AnalyzeTextError
Parameters
- code
- AnalyzeTextErrorCode
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<AnalyzeTextError>
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 AnalyzeTextError instance for mocking.
Applies to
Azure SDK for .NET