EventArgs
When an exception is thrown from a callback registered with part of the RabbitMQ .NET client library, it is caught, packaged into a CallbackExceptionEventArgs, and passed through the appropriate IModel's or IConnection's CallbackException event handlers. If an exception is thrown in a CallbackException handler, it is silently swallowed, as CallbackException is the last chance to handle these kinds of exception.
Code constructing CallbackExceptionEventArgs instances will usually place helpful information about the context of the call in the IDictionary available through the Detail property.
| Flags | Type | Name | Summary |
|---|---|---|---|
| public | |
Detail (r)
|
Access helpful information about the context in which the wrapped exception was thrown. |
| public | |
Exception (r)
|
Access the wrapped exception. |
| Flags | Name | Summary |
|---|---|---|
| public | CallbackExceptionEventArgs(Exception exception)
|
Wrap an exception thrown by a callback. |