Class AbpExceptionHandlingMiddleware
Inheritance
System.Object
AbpExceptionHandlingMiddleware
Implements
ITransientDependency
Namespace: Volo.Abp.AspNetCore.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpExceptionHandlingMiddleware : IMiddleware, ITransientDependency
Constructors
AbpExceptionHandlingMiddleware(ILogger<AbpUnitOfWorkMiddleware>)
Declaration
public AbpExceptionHandlingMiddleware(ILogger<AbpUnitOfWorkMiddleware> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger<AbpUnitOfWorkMiddleware> | logger |
Methods
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context | |
| RequestDelegate | next |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
ITransientDependency