Class AbpExceptionHandlingMiddleware
Inheritance
System.Object
AbpExceptionHandlingMiddleware
Implements
Microsoft.AspNetCore.Http.IMiddleware
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Abp.AspNetCore.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpExceptionHandlingMiddleware : IMiddleware, ITransientDependency
Constructors
AbpExceptionHandlingMiddleware(ILogger<AbpExceptionHandlingMiddleware>)
Declaration
public AbpExceptionHandlingMiddleware(ILogger<AbpExceptionHandlingMiddleware> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Logging.ILogger<AbpExceptionHandlingMiddleware> | logger |
Methods
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.HttpContext | context | |
| Microsoft.AspNetCore.Http.RequestDelegate | next |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Microsoft.AspNetCore.Http.IMiddleware
ITransientDependency