NonConcurrentSynchronizationContext.UnhandledException Ereignis

Definition

Tritt auf, wenn die bereitgestellter Arbeit eine nicht behandelte Ausnahme auslöst.

public:
 event EventHandler<Exception ^> ^ UnhandledException;
public event EventHandler<Exception>? UnhandledException;
member this.UnhandledException : EventHandler<Exception> 
Public Event UnhandledException As EventHandler(Of Exception) 

Ereignistyp

EventHandler<Exception>

Hinweise

Jede Ausnahme, die von diesem Handler ausgelöst wird, stürzt den Prozess ab.

Gilt für