Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MessageQueue.Refresh Method

Refreshes the properties presented by the MessageQueue to reflect the current state of the resource.

[Visual Basic]
Public Sub Refresh()
public void Refresh();
public: void Refresh();
public function Refresh();


Refresh synchronizes the properties of a MessageQueue with its associated Message Queuing server resource. If any property, such as Label or Category, has changed on the server since the time the MessageQueue was created, Refresh updates the MessageQueue with the new information.

The following table shows whether this method is available in various Workgroup modes.

Workgroup Mode Available
Local computer Yes
Local computer + direct format name Yes
Remote computer No
Remote computer + direct format name Yes


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

MessageQueue Class | MessageQueue Members | System.Messaging Namespace | GetPublicQueues | GetPublicQueuesByCategory | GetPublicQueuesByLabel | GetPublicQueuesByMachine

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.