ExceptionFilterAttribute Class

Syntax

public abstract class ExceptionFilterAttribute : Attribute, _Attribute, IAsyncExceptionFilter, IExceptionFilter, IOrderedFilter, IFilter

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ExceptionFilterAttribute

Properties

Order()
Return type:System.Int32
public int Order { get; set; }

Methods

OnException(Microsoft.AspNet.Mvc.ExceptionContext)
Arguments:
public virtual void OnException(ExceptionContext context)
OnExceptionAsync(Microsoft.AspNet.Mvc.ExceptionContext)
Arguments:
Return type:

System.Threading.Tasks.Task

public virtual Task OnExceptionAsync(ExceptionContext context)