For debug purposes. Gets or sets a value defining if exceptions should be caught and the exception message assigned to the variable instead of letting the exception reach the surface.

Namespace:  ca.metaobjects.csogateway.Controls
Assembly:  ca.metaobjects.csogateway (in ca.metaobjects.csogateway.dll) Version: 0.7.1.0 (0.7.1.0)

Syntax

C#
public bool TrapException { get; set; }
Visual Basic (Declaration)
Public Property TrapException As Boolean
Visual C++
public:
property bool TrapException {
	bool get ();
	void set (bool value);
}

Field Value

true to trap the exceptions and assign the exception message to the variable name. false to let the exception go and reach the surface. false to let the exception reach the surface.

See Also