Class AbpExceptionPageFilter
Inheritance
System.Object
AbpExceptionPageFilter
Implements
ITransientDependency
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public class AbpExceptionPageFilter : IAsyncPageFilter, ITransientDependency
Constructors
AbpExceptionPageFilter(IExceptionToErrorInfoConverter, IHttpExceptionStatusCodeFinder, IJsonSerializer)
Declaration
public AbpExceptionPageFilter(IExceptionToErrorInfoConverter errorInfoConverter, IHttpExceptionStatusCodeFinder statusCodeFinder, IJsonSerializer jsonSerializer)
Parameters
Properties
Logger
Declaration
public ILogger<AbpExceptionPageFilter> Logger { get; set; }
Property Value
Methods
HandleAndWrapException(PageHandlerExecutedContext)
Declaration
protected virtual Task HandleAndWrapException(PageHandlerExecutedContext context)
Parameters
| Type |
Name |
Description |
| PageHandlerExecutedContext |
context |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate)
Declaration
public Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
Parameters
| Type |
Name |
Description |
| PageHandlerExecutingContext |
context |
|
| PageHandlerExecutionDelegate |
next |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
OnPageHandlerSelectionAsync(PageHandlerSelectedContext)
Declaration
public Task OnPageHandlerSelectionAsync(PageHandlerSelectedContext context)
Parameters
| Type |
Name |
Description |
| PageHandlerSelectedContext |
context |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ShouldHandleException(PageHandlerExecutingContext)
Declaration
protected virtual bool ShouldHandleException(PageHandlerExecutingContext context)
Parameters
| Type |
Name |
Description |
| PageHandlerExecutingContext |
context |
|
Returns
| Type |
Description |
| System.Boolean |
|
Implements
ITransientDependency
Extension Methods