Class ExceptionFilterAttribute
Represents the attributes for the exception filter.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public abstract class ExceptionFilterAttribute : FilterAttribute, IExceptionFilter, IFilter
- Inheritance
-
ExceptionFilterAttribute
- Implements
- Inherited Members
Constructors
ExceptionFilterAttribute()
Initializes a new instance of the ExceptionFilterAttribute class.
protected ExceptionFilterAttribute()
Methods
OnException(HttpActionExecutedContext)
Raises the exception event.
public virtual void OnException(HttpActionExecutedContext actionExecutedContext)
Parameters
actionExecutedContext
HttpActionExecutedContextThe context for the action.