This documentation is archived and is not being maintained.

MessageQueue Events

The events of the MessageQueue class are listed here. For a complete list of MessageQueue class members, see the MessageQueue Members topic.

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventPeekCompleted Occurs when a message is read without being removed from the queue. This is a result of the asynchronous operation, BeginPeek.
public eventReceiveCompleted Occurs when a message has been removed from the queue. This event is raised by the asynchronous operation, BeginReceive.

See Also

MessageQueue Class | System.Messaging Namespace