Share via


ExceptionSettings.SetBreakWhenThrown(Boolean, ExceptionSetting) Method

Definition

Enables or disables the BreakWhenThrown property for the specified ExceptionSetting. The property passed in by the ExceptionSetting object will now reflect this value.

public:
 void SetBreakWhenThrown(bool BreakWhenThrown, EnvDTE90::ExceptionSetting ^ ExceptionSetting);
public:
 void SetBreakWhenThrown(bool BreakWhenThrown, EnvDTE90::ExceptionSetting ^ ExceptionSetting);
void SetBreakWhenThrown(bool BreakWhenThrown, EnvDTE90::ExceptionSetting const & ExceptionSetting);
[System.Runtime.InteropServices.DispId(203)]
public void SetBreakWhenThrown (bool BreakWhenThrown, EnvDTE90.ExceptionSetting ExceptionSetting);
[<System.Runtime.InteropServices.DispId(203)>]
abstract member SetBreakWhenThrown : bool * EnvDTE90.ExceptionSetting -> unit
Public Sub SetBreakWhenThrown (BreakWhenThrown As Boolean, ExceptionSetting As ExceptionSetting)

Parameters

BreakWhenThrown
Boolean

A boolean value; true to enable the BreakWhenThrown property, false to disable it.

ExceptionSetting
ExceptionSetting

The ExceptionSetting for which to enable or disable the BreakWhenThrown property.

Attributes

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.

Applies to