ExceptionSettings.SetBreakWhenUserUnhandled Method
Enables or disables the BreakWhenUserUnhandled property for the specified ExceptionSetting. The property passed in by the ExceptionSetting object will now reflect this value.
Namespace: EnvDTE90
Assembly: EnvDTE90 (in EnvDTE90.dll)
Syntax
'Declaration
Sub SetBreakWhenUserUnhandled ( _
BreakWhenUserUnhandled As Boolean, _
ExceptionSetting As ExceptionSetting _
)
void SetBreakWhenUserUnhandled(
bool BreakWhenUserUnhandled,
ExceptionSetting ExceptionSetting
)
void SetBreakWhenUserUnhandled(
[InAttribute] bool BreakWhenUserUnhandled,
[InAttribute] ExceptionSetting^ ExceptionSetting
)
abstract SetBreakWhenUserUnhandled :
BreakWhenUserUnhandled:bool *
ExceptionSetting:ExceptionSetting -> unit
function SetBreakWhenUserUnhandled(
BreakWhenUserUnhandled : boolean,
ExceptionSetting : ExceptionSetting
)
Parameters
BreakWhenUserUnhandled
Type: System.BooleanA boolean value; true to enable the BreakWhenUserUnhandled property, false to disable it.
ExceptionSetting
Type: EnvDTE90.ExceptionSettingThe ExceptionSetting for which to enable or disable the BreakWhenUserUnhandled property.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.