ActionExecutedContext.Exception Property

Definition

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

public virtual Exception Exception { get; set; }
member this.Exception : Exception with get, set
Public Overridable Property Exception As Exception

Property Value

The exception that occurred during the execution of the action method.

Applies to