NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Trace.Assert

Checks for a condition and displays a message if the condition is false.

Overload List

Checks for a condition and displays both the specified messages if the condition is false.

[Visual Basic] Overloads Public Shared Sub Assert(Boolean, String, String)
[C#] public static void Assert(bool, String, String);
[C++] public: static void Assert(bool, String, String);
[JScript] public static function Assert(Boolean, String, String);

Checks for a condition and displays a message if the condition is false.

[Visual Basic] Overloads Public Shared Sub Assert(Boolean, String)
[C#] public static void Assert(bool, String);
[C++] public: static void Assert(bool, String);
[JScript] public static function Assert(Boolean, String);

Checks for a condition and outputs the callstack if the condition is false.

[Visual Basic] Overloads Public Shared Sub Assert(Boolean)
[C#] public static void Assert(bool);
[C++] public: static void Assert(bool);
[JScript] public static function Assert(Boolean);

See Also

Trace Class | Trace Members | System.Diagnostics Namespace