IMessageListener (delegate)

An application uses a message listener to receive messages asynchronously.

    Inheritance hierarchy:
    None

Parent topic: .NET interfaces


Delegate

    Summary of methods:

    Method Description
    MessageListener Deliver a message asynchronously to the message consumer.


MessageListener - Message Listener

    Interface:
    public delegate void MessageListener(IMessage msg);

Deliver a message asynchronously to the message consumer.

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

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

    Parameters:

      mesg (input)
      The Message object.

    Returns:
    Void