Share via


ExceptionSettings.SetBreakWhenThrown Method

Enables or disables the BreakWhenThrown 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 SetBreakWhenThrown ( _
    BreakWhenThrown As Boolean, _
    ExceptionSetting As ExceptionSetting _
)
void SetBreakWhenThrown(
    bool BreakWhenThrown,
    ExceptionSetting ExceptionSetting
)
void SetBreakWhenThrown(
    [InAttribute] bool BreakWhenThrown, 
    [InAttribute] ExceptionSetting^ ExceptionSetting
)
abstract SetBreakWhenThrown : 
        BreakWhenThrown:bool * 
        ExceptionSetting:ExceptionSetting -> unit 
function SetBreakWhenThrown(
    BreakWhenThrown : boolean, 
    ExceptionSetting : ExceptionSetting
)

Parameters

Remarks

SetBreakWhenThrown 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