Udostępnij przez


DbCommandInterceptor.CommandCanceled(DbCommand, CommandEndEventData) Metoda

Definicja

Wywoływana, gdy polecenie zostało anulowane.

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)

Parametry

command
DbCommand

Polecenie.

eventData
CommandEndEventData

Kontekstowe informacje o poleceniu i wykonaniu.

Implementuje

Dotyczy