Del via


EvaluationDiagnostic.Error(String) Method

Definition

Returns an EvaluationDiagnostic with the supplied message and with Severity set to Error.

public:
 static Microsoft::Extensions::AI::Evaluation::EvaluationDiagnostic ^ Error(System::String ^ message);
public static Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic Error (string message);
static member Error : string -> Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic
Public Shared Function Error (message As String) As EvaluationDiagnostic

Parameters

message
String

An error message describing the EvaluationDiagnostic.

Returns

An EvaluationDiagnostic with Severity set to Error.

Applies to