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)

'Declaration
Public Overridable Property Exception As Exception 
	Get 
	Set
'Usage
Dim instance As ActionExecutedContext 
Dim value As Exception 

value = instance.Exception

instance.Exception = value

Property Value

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