WarningsConfiguration.GetBehavior(EventId) 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.
Gets the WarningBehavior set for the given event ID, or null
if no explicit behavior has been set.
public virtual Microsoft.EntityFrameworkCore.WarningBehavior? GetBehavior (Microsoft.Extensions.Logging.EventId eventId);
abstract member GetBehavior : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.EntityFrameworkCore.WarningBehavior>
override this.GetBehavior : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.EntityFrameworkCore.WarningBehavior>
Public Overridable Function GetBehavior (eventId As EventId) As Nullable(Of WarningBehavior)
Parameters
- eventId
- EventId
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework