CoreStrings.WarningAsErrorTemplate(Object, Object, Object) 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.
An error was generated for warning '{eventName}': {message} This exception can be suppressed or logged by passing event ID '{eventId}' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or '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
Parameters
- eventName
- Object
- message
- Object
- eventId
- Object
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework