Share via


FallbackEventDefinition Konstruktoren

Definition

Überlädt

FallbackEventDefinition(EventId, LogLevel, String)

Erstellt eine Ereignisdefinition instance.

FallbackEventDefinition(EventId, LogLevel, String, String)

Erstellt eine Ereignisdefinition instance.

FallbackEventDefinition(ILoggingOptions, EventId, LogLevel, String, String)

Erstellt eine Ereignisdefinition instance.

FallbackEventDefinition(EventId, LogLevel, String)

Erstellt eine Ereignisdefinition instance.

public FallbackEventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string messageFormat);
new Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition
Public Sub New (eventId As EventId, level As LogLevel, messageFormat As String)

Parameter

eventId
EventId

Die EventId.

level
LogLevel

Die LogLevel , an der das Ereignis protokolliert wird.

messageFormat
String

Die parametrisierte Nachrichtendefinition.

Gilt für:

FallbackEventDefinition(EventId, LogLevel, String, String)

Erstellt eine Ereignisdefinition instance.

public FallbackEventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, string messageFormat);
new Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * string -> Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition
Public Sub New (eventId As EventId, level As LogLevel, eventIdCode As String, messageFormat As String)

Parameter

eventId
EventId

Die EventId.

level
LogLevel

Die LogLevel , an der das Ereignis protokolliert wird.

eventIdCode
String

Eine Zeichenfolge, die den Code darstellt, der an ConfigureWanings übergeben werden soll.

messageFormat
String

Die parametrisierte Nachrichtendefinition.

Gilt für:

FallbackEventDefinition(ILoggingOptions, EventId, LogLevel, String, String)

Erstellt eine Ereignisdefinition instance.

public FallbackEventDefinition (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, string messageFormat);
new Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * string -> Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition
Public Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String, messageFormat As String)

Parameter

loggingOptions
ILoggingOptions

Protokollierungsoptionen.

eventId
EventId

Die EventId.

level
LogLevel

Die LogLevel , an der das Ereignis protokolliert wird.

eventIdCode
String

Eine Zeichenfolge, die den Code darstellt, der an ConfigureWarnings(Action<WarningsConfigurationBuilder>)übergeben werden soll.

messageFormat
String

Die parametrisierte Nachrichtendefinition.

Gilt für: