HttpActionExecutedContext.Exception Property
Gets or sets the exception that was raised during the execution.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property Exception As Exception
Get
Set
'Usage
Dim instance As HttpActionExecutedContext
Dim value As Exception
value = instance.Exception
instance.Exception = value
public Exception Exception { get; set; }
public:
property Exception^ Exception {
Exception^ get ();
void set (Exception^ value);
}
member Exception : Exception with get, set
function get Exception () : Exception
function set Exception (value : Exception)
Property Value
Type: System.Exception
The exception that was raised during the execution.