Using message and exception listeners in .NET
A .NET application uses a message listener to receive messages asynchronously, and it uses an exception listener to be notified asynchronously of a problem with a connection.
About this task
The functionality of both the message and exception listeners is the same for .NET and for C++. However, there are some small implementation differences.