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.

C++/CX
public:
 void SetBreakWhenThrown(bool BreakWhenThrown, EnvDTE90::ExceptionSetting ^ 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

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022