TextAnalysisModelFactory.DocumentWarning(WarningCode, String, String) 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 DocumentWarning.
public static Azure.AI.Language.Text.DocumentWarning DocumentWarning (Azure.AI.Language.Text.WarningCode code = default, string message = default, string targetRef = default);
static member DocumentWarning : Azure.AI.Language.Text.WarningCode * string * string -> Azure.AI.Language.Text.DocumentWarning
Public Shared Function DocumentWarning (Optional code As WarningCode = Nothing, Optional message As String = Nothing, Optional targetRef As String = Nothing) As DocumentWarning
Parameters
- code
- WarningCode
Warning code.
- message
- String
Warning message.
- targetRef
- String
A JSON pointer reference indicating the target object.
Returns
A new DocumentWarning instance for mocking.