Share via


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

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

See Also

Reference

ExceptionSettings Interface

EnvDTE90 Namespace

Other Resources

Automation Object Model Chart