EvaluationDiagnostic.Error(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.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.