Share via


ExceptionContext.Exception Property

Gets or sets the exception object.

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

Syntax

'Declaration
Public Overridable Property Exception As Exception
    Get
    Set
public virtual Exception Exception { get; set; }
public:
virtual property Exception^ Exception {
    Exception^ get ();
    void set (Exception^ value);
}

Property Value

Type: System.Exception
The exception object.

See Also

Reference

ExceptionContext Class

System.Web.Mvc Namespace