共用方式為


FallbackEventDefinition 建構函式

定義

多載

FallbackEventDefinition(EventId, LogLevel, String)

建立事件定義實例。

FallbackEventDefinition(EventId, LogLevel, String, String)

建立事件定義實例。

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

建立事件定義實例。

FallbackEventDefinition(EventId, LogLevel, String)

建立事件定義實例。

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)

參數

eventId
EventId

EventId

level
LogLevel

LogLevel 記錄事件的 。

messageFormat
String

參數化訊息定義。

適用於

FallbackEventDefinition(EventId, LogLevel, String, String)

建立事件定義實例。

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)

參數

eventId
EventId

EventId

level
LogLevel

LogLevel 記錄事件的 。

eventIdCode
String

字串,表示應該傳遞至 ConfigureWanings 的程式碼。

messageFormat
String

參數化訊息定義。

適用於

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

建立事件定義實例。

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)

參數

loggingOptions
ILoggingOptions

記錄選項。

eventId
EventId

EventId

level
LogLevel

LogLevel 記錄事件的 。

eventIdCode
String

字串,表示應該傳遞至 ConfigureWarnings(Action<WarningsConfigurationBuilder>) 的程式碼。

messageFormat
String

參數化訊息定義。

適用於