UnhandledExceptionHandler class¶
Defined in
Namespace: ReactiveUI.Extensions.Async
Assembly: ReactiveUI.Extensions.dll
Full name: ReactiveUI.Extensions.Async.UnhandledExceptionHandler
Modifiers: public static
Summary¶
Provides a mechanism for registering a global handler to process unhandled exceptions that occur during
application execution.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Remarks¶
Use this class to specify a custom action to be invoked when an unhandled exception is encountered. By default, unhandled exceptions are written to the console. Registering a handler allows applications to perform custom logging, cleanup, or user notification in response to unexpected errors. This class does not handle exceptions of type OperationCanceledException.
Methods¶
| Name | Summary |
|---|---|
| static Register | Registers a handler to be invoked when an unhandled exception occurs. |