DbCommandInterceptor.CommandFailed(DbCommand, CommandErrorEventData) Yöntem

Tanım

Bir komutun yürütülmesi bir özel durumla başarısız olduğunda çağrılır.

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

Parametreler

command
DbCommand

Komut.

eventData
CommandErrorEventData

Komut ve yürütme hakkında bağlamsal bilgiler.

Uygulamalar

Şunlara uygulanır