Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

RelationalEventId.CommandError Field

Definition

Namespace:
Microsoft.EntityFrameworkCore.Diagnostics
Assembly:
Microsoft.EntityFrameworkCore.Relational.dll
Package:
Microsoft.EntityFrameworkCore.Relational v10.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v2.0.3
Package:
Microsoft.EntityFrameworkCore.Relational v2.1.11
Package:
Microsoft.EntityFrameworkCore.Relational v2.2.6
Package:
Microsoft.EntityFrameworkCore.Relational v3.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v3.1.0
Package:
Microsoft.EntityFrameworkCore.Relational v5.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v6.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v7.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v8.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v9.0.0
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs
Source:
RelationalEventId.cs

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.

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


Feedback

Was this page helpful?