Language

AzureAIProjectsModelFactory.FoundryModelWarning Method

Definition

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

code
Nullable<FoundryModelWarningCode>

The warning code.

message
String

The warning message.

Returns

A new FoundryModelWarning instance for mocking.

Applies to