Compartir a través de


CoreStrings.WarningAsErrorTemplate(Object, Object, Object) Método

Definición

Se generó un error para la advertencia '{eventName}': {message} Esta excepción se puede suprimir o registrar pasando el identificador de evento '{eventId}' al método 'ConfigureWarnings' en 'DbContext.OnConfiguring' o 'AddDbContext'.

public static string WarningAsErrorTemplate (object eventName, object message, object eventId);
public static string WarningAsErrorTemplate (object? eventName, object? message, object? eventId);
static member WarningAsErrorTemplate : obj * obj * obj -> string
Public Shared Function WarningAsErrorTemplate (eventName As Object, message As Object, eventId As Object) As String

Parámetros

eventName
Object
message
Object
eventId
Object

Devoluciones

Se aplica a