ActionExecutedContext.Exception Property

Visual Studio 2010

Gets or sets the exception that occurred during the execution of the action method, if any.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public virtual Exception Exception { get; set; }

Property Value

Type: System.Exception
The exception that occurred during the execution of the action method.

Community Additions

ADD
Show: