Share via


RelationalEventId.ConnectionError Field

Definition

A error occurred while opening or using a database connection.

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

Field Value

Remarks

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

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

Applies to