ActionExecutedContext.Exception Property

 

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.

Return to top
Show: