다음을 통해 공유


NonConcurrentSynchronizationContext.UnhandledException Event

Definition

Occurs when posted work throws an unhandled exception.

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

Event Type

Remarks

Any exception thrown from this handler will crash the process.

Applies to