ModelError.Exception Property

Gets or sets the exception object.

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

Syntax

'Declaration
Public Property Exception As Exception
    Get
    Private Set
'Usage
Dim instance As ModelError
Dim value As Exception

value = instance.Exception
public Exception Exception { get; private set; }
public:
property Exception^ Exception {
    Exception^ get ();
    private: void set (Exception^ value);
}
member Exception : Exception with get, private set
function get Exception () : Exception
private function set Exception (value : Exception)

Property Value

Type: System.Exception
The exception object.

See Also

Reference

ModelError Class

System.Web.Http.ModelBinding Namespace