ErrorsReturnedNotDisplayed Property
Topic Last Modified: 2007-03-14
The ErrorsReturnedNotDisplayed property specifies whether low-level error information from the TreeView control will be returned in a ControlError Event or in a message box. When this property is set to the default value, which is False, low-level error information from the TreeView control is returned in a message box. When this property is set to True, low-level error information is returned in an error event. High-level error information from the TreeView control is always returned in a ControlError Event. The ErrorsReturnedNotDisplayed property applies to the ExchangeTreeViewControl Class.
Syntax
Property ErrorsReturnedNotDisplayed As Boolean
bool ErrorsReturnedNotDisplayed
Remarks
If the value of this property is set to True, low-level error information from the TreeView control is passed to the event handler method in the application, where it can be dealt with programmatically. High-level error information from the TreeView control is always returned in a ControlGeneratedError Event.
If the value of this property is set to False, low-level error information from the TreeView control is returned in a message box. This is the default value.
Examples
Description
In the following Visual Basic .NET code example, the ErrorsReturnedNotDisplayed property is set to True. Low-level error information will then be returned from the TreeView control in a ControlError Event.
Code
myTreeViewControl.ErrorsReturnedNotDisplayed = False
In the following C# code example, the ErrorsReturnedNotDisplayed property is set to True. Low-level error information will then be returned from the TreeView control in a ControlError Event.
Code
myTreeViewControl.ErrorsReturnedNotDisplayed = false;