System.Messaging Reference (Document! X Sample)
Dispose() Method



System.Messaging Namespace > MessageQueueEnumerator Class > Dispose Method : Dispose() Method
Releases all resources used by the MessageQueueEnumerator.
Syntax
'Declaration
 
Public Overloads Sub Dispose() 
'Usage
 
Dim instance As MessageQueueEnumerator
 
instance.Dispose()
public void Dispose()
public:
void Dispose(); 
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
Overload List