Class UnitOfWorkFailedEventArgs
Used as event arguments on Failed event.
Inherited Members
Namespace: Volo.Abp.Uow
Assembly: Volo.Abp.Uow.dll
Syntax
public class UnitOfWorkFailedEventArgs : UnitOfWorkEventArgs
Constructors
UnitOfWorkFailedEventArgs(IUnitOfWork, Exception, Boolean)
Creates a new UnitOfWorkFailedEventArgs object.
Declaration
public UnitOfWorkFailedEventArgs(IUnitOfWork unitOfWork, Exception exception, bool isRolledback)
Parameters
Type | Name | Description |
---|---|---|
IUnitOfWork | unitOfWork | |
Exception | exception | |
System.Boolean | isRolledback |
Properties
Exception
Exception that caused failure. This is set only if an error occurred during
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception |
IsRolledback
True, if the unit of work is manually rolled back.
Declaration
public bool IsRolledback { get; }
Property Value
Type | Description |
---|---|
System.Boolean |