System.Messaging Reference (Document! X Sample)
Close Method (MessageQueueEnumerator)



System.Messaging Namespace > MessageQueueEnumerator Class : Close Method
Frees the resources associated with the enumerator.
Syntax
'Declaration
 
Public Sub Close() 
'Usage
 
Dim instance As MessageQueueEnumerator
 
instance.Close()
public void Close()
public:
void Close(); 
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MessageQueueEnumerator Class
MessageQueueEnumerator Members