Share via


TraceRecord.Exception Property

Gets or sets the exception.

Namespace:  System.Web.Http.Tracing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property Exception As Exception 
    Get 
    Set
'Usage
Dim instance As TraceRecord 
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.

See Also

Reference

TraceRecord Class

System.Web.Http.Tracing Namespace