Class ExceptionHandingUnitOfWork
Implements
System.IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class ExceptionHandingUnitOfWork : UnitOfWork, IUnitOfWork, IDatabaseApiContainer, IServiceProviderAccessor, ITransactionApiContainer, IDisposable, ITransientDependency
Constructors
ExceptionHandingUnitOfWork(IServiceProvider, IUnitOfWorkEventPublisher, IOptions<AbpUnitOfWorkDefaultOptions>)
Declaration
public ExceptionHandingUnitOfWork(IServiceProvider serviceProvider, IUnitOfWorkEventPublisher unitOfWorkEventPublisher, IOptions<AbpUnitOfWorkDefaultOptions> options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IServiceProvider | serviceProvider | |
| IUnitOfWorkEventPublisher | unitOfWorkEventPublisher | |
| Microsoft.Extensions.Options.IOptions<TOptions><AbpUnitOfWorkDefaultOptions> | options |
Methods
SaveChangesAsync(CancellationToken)
Declaration
public override Task SaveChangesAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Implements
System.IDisposable