ExceptionSettings.SetBreakWhenUserUnhandled(Boolean, ExceptionSetting) ExceptionSettings.SetBreakWhenUserUnhandled(Boolean, ExceptionSetting) ExceptionSettings.SetBreakWhenUserUnhandled(Boolean, ExceptionSetting) ExceptionSettings.SetBreakWhenUserUnhandled(Boolean, ExceptionSetting) ExceptionSettings.SetBreakWhenUserUnhandled(Boolean, ExceptionSetting) Method

Definition

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

public:
 void SetBreakWhenUserUnhandled(bool BreakWhenUserUnhandled, EnvDTE90::ExceptionSetting ^ ExceptionSetting);
public:
 void SetBreakWhenUserUnhandled(bool BreakWhenUserUnhandled, EnvDTE90::ExceptionSetting ^ ExceptionSetting);
void SetBreakWhenUserUnhandled(bool BreakWhenUserUnhandled, EnvDTE90::ExceptionSetting const & ExceptionSetting);
[System.Runtime.InteropServices.DispId(204)]
public void SetBreakWhenUserUnhandled (bool BreakWhenUserUnhandled, EnvDTE90.ExceptionSetting ExceptionSetting);
abstract member SetBreakWhenUserUnhandled : bool * EnvDTE90.ExceptionSetting -> unit
Parameters
BreakWhenUserUnhandled
Boolean Boolean Boolean Boolean Boolean

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

Remarks

SetBreakWhenUserUnhandled applies only to managed exception types. If you attempt to use this method on a native exception, you will get the error message, "BreakWhenUserUnhandled only applies to managed exception types."

SetBreakWhenUserUnhandled 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