ExceptionSettings.SetBreakWhenThrown(Boolean, ExceptionSetting) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.