Condividi tramite


Metodo ExceptionSettings.SetBreakWhenUserUnhandled

Abilita o disabilita la proprietà BreakWhenUserUnhandled per l'oggetto ExceptionSetting specificato. La proprietà passata in base all'oggetto ExceptionSetting rifletterà questo valore.

Spazio dei nomi:  EnvDTE90
Assembly:  EnvDTE90 (in EnvDTE90.dll)

Sintassi

'Dichiarazione
Sub SetBreakWhenUserUnhandled ( _
    BreakWhenUserUnhandled As Boolean, _
    ExceptionSetting As ExceptionSetting _
)
void SetBreakWhenUserUnhandled(
    bool BreakWhenUserUnhandled,
    ExceptionSetting ExceptionSetting
)
void SetBreakWhenUserUnhandled(
    [InAttribute] bool BreakWhenUserUnhandled, 
    [InAttribute] ExceptionSetting^ ExceptionSetting
)
abstract SetBreakWhenUserUnhandled : 
        BreakWhenUserUnhandled:bool * 
        ExceptionSetting:ExceptionSetting -> unit 
function SetBreakWhenUserUnhandled(
    BreakWhenUserUnhandled : boolean, 
    ExceptionSetting : ExceptionSetting
)

Parametri

Note

SetBreakWhenUserUnhandled si applica solo ai tipi di eccezioni gestite. Se si tenta di utilizzare questo metodo su un'eccezione nativa, verrà restituito il messaggio di errore "BreakWhenUserUnhandled si applica solo ai tipi di eccezioni gestite".

SetBreakWhenUserUnhandled imposta i valori solo nell'istanza di ExceptionSetting specificata. ExceptionSetting costituisce solo uno snapshot dei valori delle impostazioni di eccezione al momento della creazione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ExceptionSettings Interfaccia

Spazio dei nomi EnvDTE90

Altre risorse

Grafico del modello a oggetti di automazione