using System; namespace Abp.Domain.Uow { /// /// Used as event arguments on event. /// public class UnitOfWorkFailedEventArgs : EventArgs { /// /// Exception that caused failure. /// public Exception Exception { get; private set; } /// /// Creates a new object. /// /// Exception that caused failure public UnitOfWorkFailedEventArgs(Exception exception) { Exception = exception; } } }