Partager via


ExceptionSettings.SetBreakWhenThrown, méthode

Active ou désactive la propriété BreakWhenThrown pour le ExceptionSetting spécifié. La propriété passée par l'objet ExceptionSetting reflétera cette valeur.

Espace de noms :  EnvDTE90
Assembly :  EnvDTE90 (dans EnvDTE90.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • BreakWhenThrown
    Type : Boolean

    Valeur booléenne. true pour activer la propriété BreakWhenThrown, false pour la désactiver.

Notes

SetBreakWhenThrown définit les valeurs uniquement sur l'instance ExceptionSetting spécifiée. Un ExceptionSetting est simplement un instantané des valeurs des paramètres d'exception lors de sa création.

Sécurité .NET Framework

Voir aussi

Référence

ExceptionSettings Interface

EnvDTE90, espace de noms

Autres ressources

Graphique Modèle d'objet Automation