WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

ExceptionListener

Inheritance hierarchy:
None

An application uses an exception listener to be notified asynchronously of a problem with a connection.

If an application uses a connection only to consume messages asynchronously, and for no other purpose, then the only way the application can learn about a problem with the connection is by using an exception listener. In other situations, an exception listener can provide a more immediate way of learning about a problem with a connection than waiting until the next synchronous call to XMS.

Delegate

Summary of delegate:
Delegate Description
ExceptionListener Notify the application of a problem with a connection.

ExceptionListener – Exception Listener

Interface:
public delegate void ExceptionListener(Exception ex)

Notify the application of a problem with a connection.

Methods that implement this delegate can be registered with the connection.

For more information about using exception listeners, see Using message and exception listeners in .NET.

Parameters:
exception (input)
A pointer to an exception created by XMS.
Returns:
Void

Reference topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.