ExceptionSettings::SetBreakWhenThrown Method (Boolean, ExceptionSetting^)

 

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)

void SetBreakWhenThrown(
	bool BreakWhenThrown,
	ExceptionSetting^ ExceptionSetting
)

Parameters

BreakWhenThrown
Type: System::Boolean

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

ExceptionSetting
Type: EnvDTE90::ExceptionSetting^

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

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.

Return to top
Show: