MessageEnumerator Members
Collapse the table of content
Expand the table of content

MessageEnumerator Members

Provides a forward-only cursor to enumerate through messages in a message queue.

The MessageEnumerator type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Close Frees the resources associated with the enumerator.
Public method 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.)
Public method Supported by the .NET Compact Framework Dispose Overloaded. Releases the resources used by the MessageEnumerator.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework 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().
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework MoveNext Overloaded. Advances the enumerator to the next message in the queue.
Public method Supported by the .NET Compact Framework 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.
Public method Supported by the .NET Compact Framework Reset Resets the current enumerator so it points to the head of the queue.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Current Gets the current Message that this enumerator points to.
Public property Supported by the .NET Compact Framework CursorHandle Gets the native Message Queuing cursor handle used to browse messages in the queue.
Top

  NameDescription
Explicit interface implemetation Private property Supported by the .NET Compact Framework IEnumerator.Current Gets the current Message that this enumerator points to.
Top

Community Additions

ADD
Show:
© 2016 Microsoft