AzureAIProjectsModelFactory.FoundryModelWarning 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.
A warning associated with a model.
public static Azure.AI.Projects.FoundryModelWarning FoundryModelWarning(Azure.AI.Projects.FoundryModelWarningCode? code = default, string message = default);
static member FoundryModelWarning : Nullable<Azure.AI.Projects.FoundryModelWarningCode> * string -> Azure.AI.Projects.FoundryModelWarning
Public Shared Function FoundryModelWarning (Optional code As Nullable(Of FoundryModelWarningCode) = Nothing, Optional message As String = Nothing) As FoundryModelWarning
Parameters
The warning code.
- message
- String
The warning message.
Returns
A new FoundryModelWarning instance for mocking.