This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
MessageQueuesEnumerator Members
Public:
Properties
Current |
Returns the current MessageQueue of the enumeration. Before the first call to MoveNext and following a call to MoveNext that returned false an InvalidOperationException will be thrown. Multiple calls to Current with no intervening calls to MoveNext will return the same MessageQueue object. |
LocatorHandle |
The native MSMQ handle used to locate queues in a network. |
Methods
Close |
Frees the resources associated with the enumerator. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (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. |
GetType (inherited from Object) |
Gets the Type of the Object. |
MoveNext |
Advances the enumerator to the next MessageQueue of the enumeration and returns a boolean indicating whether a MessageQueue is available. Upon creation, an enumerator is conceptually positioned before the first MessageQueue of the enumeration, and the first call to MoveNext brings the first MessageQueue of the enumeration into view. |
Reset |
Set the cursor to the begining of the enumeration. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Methods
See Also
MessageQueuesEnumerator Class | System.Messaging Namespace