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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.