Share via


DocumentIntelligenceModelFactory.DocumentIntelligenceWarning Method

Definition

Initializes a new instance of DocumentIntelligenceWarning.

public static Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning DocumentIntelligenceWarning (string code = default, string message = default, string target = default);
static member DocumentIntelligenceWarning : string * string * string -> Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning
Public Shared Function DocumentIntelligenceWarning (Optional code As String = Nothing, Optional message As String = Nothing, Optional target As String = Nothing) As DocumentIntelligenceWarning

Parameters

code
String

One of a server-defined set of warning codes.

message
String

A human-readable representation of the warning.

target
String

The target of the error.

Returns

A new DocumentIntelligenceWarning instance for mocking.

Applies to