Share via


DbCommandInterceptor.CommandCanceled(DbCommand, CommandEndEventData) Method

Definition

Called when a command was canceled.

public virtual void CommandCanceled (System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData eventData);
abstract member CommandCanceled : System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData -> unit
override this.CommandCanceled : System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData -> unit
Public Overridable Sub CommandCanceled (command As DbCommand, eventData As CommandEndEventData)

Parameters

command
DbCommand

The command.

eventData
CommandEndEventData

Contextual information about the command and execution.

Implements

Applies to