Share via


RelationalEventId.ConnectionClosed Field

Definition

A database connection has been closed.

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

Field Value

Remarks

This event is in the DbLoggerCategory.Database.Connection category.

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

Applies to