UnhandledExceptionEventArgs Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Fornisce dati per l'evento UnhandledException .
public ref class UnhandledExceptionEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UnhandledExceptionEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UnhandledExceptionEventArgs
Public NotInheritable Class UnhandledExceptionEventArgs
- Ereditarietà
- Attributi
Commenti
Per altre informazioni su come scrivere un gestore in base al delegato UnhandledExceptionEventHandler , vedere Gestione delle eccezioni (Guida alla programmazione C#) e osservazioni in UnhandledException.
Proprietà
Exception |
Ottiene il codice associato all'eccezione |
Handled |
Ottiene o imposta un valore che indica se l'eccezione è gestita. |
Message |
Ottiene la stringa del messaggio come passata dall'eccezione non gestita di origine. |