CoreEventId.ContextDisposed Field

Definition

The DbContext is being disposed.

public static readonly Microsoft.Extensions.Logging.EventId ContextDisposed;
 staticval mutable ContextDisposed : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly ContextDisposed As EventId 

Field Value

Remarks

This event is in the DbLoggerCategory.Infrastructure category.

This event uses the DbContextEventData payload when used with a DiagnosticSource.

Applies to