EventDefinitionBase Constructors
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.
Overloads
EventDefinitionBase(EventId, LogLevel) |
Creates an event definition instance. |
EventDefinitionBase(EventId, LogLevel, String) |
Creates an event definition instance. |
EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String) |
Creates an event definition instance. |
EventDefinitionBase(EventId, LogLevel)
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
Creates an event definition instance.
protected EventDefinitionBase (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (eventId As EventId, level As LogLevel)
Parameters
Applies to
EventDefinitionBase(EventId, LogLevel, String)
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
Creates an event definition instance.
protected EventDefinitionBase (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (eventId As EventId, level As LogLevel, eventIdCode As String)
Parameters
- eventIdCode
- String
A string representing the code that should be passed to ConfigureWanings.
Applies to
EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String)
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
Creates an event definition instance.
protected EventDefinitionBase (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String)
Parameters
- loggingOptions
- ILoggingOptions
Logging options.
- eventIdCode
- String
A string representing the code that should be passed to ConfigureWarnings(Action<WarningsConfigurationBuilder>).
Applies to
Entity Framework