다음을 통해 공유


IDbTransactionInterceptor.TransactionFailed 메서드

정의

예외를 제외하고 의 DbTransaction 사용이 실패했을 때 호출됩니다.

public void TransactionFailed (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionErrorEventData eventData);
public virtual void TransactionFailed (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionErrorEventData eventData);
abstract member TransactionFailed : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionErrorEventData -> unit
abstract member TransactionFailed : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionErrorEventData -> unit
override this.TransactionFailed : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionErrorEventData -> unit
Public Sub TransactionFailed (transaction As DbTransaction, eventData As TransactionErrorEventData)
Public Overridable Sub TransactionFailed (transaction As DbTransaction, eventData As TransactionErrorEventData)

매개 변수

transaction
DbTransaction

트랜잭션입니다.

eventData
TransactionErrorEventData

연결 및 트랜잭션에 대한 컨텍스트 정보입니다.

적용 대상