Share via


RelationalEventId.CommandError Field

Definition

An error occurred while a database command was executing.

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

Field Value

Remarks

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

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

Applies to