ExceptionSettings::SetBreakWhenUserUnhandled Method (Boolean, ExceptionSetting^)
Enables or disables the BreakWhenUserUnhandled property for the specified ExceptionSetting. The property passed in by the ExceptionSetting object will now reflect this value.
Assembly: EnvDTE90 (in EnvDTE90.dll)
void SetBreakWhenUserUnhandled( bool BreakWhenUserUnhandled, ExceptionSetting^ ExceptionSetting )
Parameters
- BreakWhenUserUnhandled
-
Type:
System::Boolean
A boolean value; true to enable the BreakWhenUserUnhandled property, false to disable it.
- ExceptionSetting
-
Type:
EnvDTE90::ExceptionSetting^
The ExceptionSetting for which to enable or disable the BreakWhenUserUnhandled property.
SetBreakWhenUserUnhandled applies only to managed exception types. If you attempt to use this method on a native exception, you will get the error message, "BreakWhenUserUnhandled only applies to managed exception types."
SetBreakWhenUserUnhandled sets the values only on the specified ExceptionSetting instance. An ExceptionSetting is only a snapshot of the exception setting values at the time it is created.