The Quanser error code associated with the exception.

Namespace:  Quanser.Common
Assembly:  Quanser.Common (in Quanser.Common.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Code As ErrorCode
C#
public ErrorCode Code { get; }
Visual C++
public:
property ErrorCode Code {
	ErrorCode get ();
}
JavaScript
function get_code();

Field Value

The Quanser error code indicating the cause of the exception.

Remarks

All Quanser exceptions thrown by methods within the Quanser .NET Class Library have an associated integer error code. The Code read-only property returns this error code.

See Also