Provides a forward-only cursor to enumerate through messages in a message queue.
The MessageEnumerator type exposes the following members.
|Close||Frees the resources associated with the enumerator.|
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Dispose||Overloaded. Releases the resources used by the MessageEnumerator.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Infrastructure. Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
In .NET Compact Framework, this member is overridden by Finalize().
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|MoveNext||Overloaded. Advances the enumerator to the next message in the queue.|
|RemoveCurrent||Overloaded. Removes the current message from the queue and returns the message to the calling application. Removing the message deletes it from the queue.|
|Reset||Resets the current enumerator so it points to the head of the queue.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|