Export (0) Print
Expand All

MessageEnumerator Methods

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

Public Methods

public methodClose Frees the resources associated with the enumerator.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose Overloaded. Releases the resources used by the MessageEnumerator.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodMoveNext Overloaded. Advances the enumerator to the next message in the queue.
public methodRemoveCurrent Overloaded. Removes the current message from the queue and returns the message to the calling application. Removing the message deletes it from the queue.
public methodReset Resets the current enumerator so it points to the head of the queue.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodDispose Overloaded. Releases the resources used by the MessageEnumerator.
protected methodFinalize Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

MessageEnumerator Class | System.Messaging Namespace

Show:
© 2014 Microsoft