MessageQueue.Refresh メソッド
アセンブリ: System.Messaging (system.messaging.dll 内)
構文Dim instance As MessageQueue instance.Refresh
解説Refresh は、MessageQueue のプロパティと、それに関連付けられたメッセージ キュー サーバーのリソースの同期をとります。MessageQueue が作成された後で、サーバーの Label や Category などのプロパティが変更されていた場合、Refresh は MessageQueue を新しい情報で更新します。
このメソッドが各種のワークグループ モードで使用できるかどうかを次の表に示します。
使用例// Connect to a queue on the local computer. MessageQueue queue = new MessageQueue(".\\exampleQueue"); // Refresh the queue's property values to obtain its current state. queue.Refresh();
.NET Framework のセキュリティ
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- MessageQueue.Refresh メソッドのページへのリンク