Show / Hide Table of Contents

Class UnitOfWorkFailedEventArgs

Used as event arguments on Failed event.

Inheritance
System.Object
UnitOfWorkEventArgs
UnitOfWorkFailedEventArgs
Inherited Members
UnitOfWorkEventArgs.UnitOfWork
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 . Can be null if there is no exception, but is not called. Can be null if another exception occurred during the UOW.

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

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft