System.Messaging Reference (Document! X Sample)
MessageEnumerator Class Members
Properties  Methods 


System.Messaging Namespace : MessageEnumerator Class

The following tables list the members exposed by MessageEnumerator.

Public Properties
 NameDescription
Public PropertyGets the current Message that this enumerator points to.  
Public PropertyGets the native Message Queuing cursor handle used to browse messages in the queue.  
Top
Public Methods
 NameDescription
Public MethodFrees the resources associated with the enumerator.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodOverloaded. Releases all resources used by the MessageEnumerator.  
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.MarshalByRefObject)
Public MethodOverloaded. Advances the enumerator to the next message in the queue, if one is currently available.  
Public MethodOverloaded. Removes the current message from a transactional or non-transactional queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.  
Public MethodResets the current enumerator so it points to the head of the queue.  
Top
Protected Methods
 NameDescription
Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
Top
See Also

Reference

MessageEnumerator Class
System.Messaging Namespace