The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DefaultTraceListener::AssertUiEnabled Property
.NET Framework (current version)
Gets or sets a value indicating whether the application is running in user-interface mode.
Assembly: System (in System.dll)
The following code example calls a function that calls the Fail(String^, String^) method to log an error message if the function throws an exception. If the AssertUiEnabled property is false, the method also writes the error message to the console.
.NET Framework
Available since 1.1
Available since 1.1
Show: