Click or drag to resize

TracingAssert Method (Guid, String, Exception)

Display a typical assert dialog with stack information.

Namespace:  Grasshopper
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static void Assert(
	Guid assert_id,
	string message,
	Exception exception
)

Parameters

assert_id
Type: SystemGuid
ID of assert message. Every assert must have a unique ID so individual messages can be ignored.
message
Type: SystemString
The text to display as the assert message.
exception
Type: SystemException
Exception object to harvest further information from.
See Also