IDbCommandInterceptor.CommandCanceled(DbCommand, CommandEndEventData) 方法

定义

取消命令时调用。

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)

参数

command
DbCommand

命令。

eventData
CommandEndEventData

有关命令和执行的上下文信息。

适用于