System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueue Class / Close Method



In This Topic
    Close Method (MessageQueue)
    In This Topic
    Frees all resources allocated by the MessageQueue.
    Syntax
    'Declaration
     
    
    Public Sub Close() 
    'Usage
     
    
    Dim instance As MessageQueue
     
    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