MessageQueue.Purge メソッド
アセンブリ: System.Messaging (system.messaging.dll 内)

Dim instance As MessageQueue instance.Purge


キューをパージすると、メッセージ キューはキュー変更フラグを設定します。これは、LastModifyTime プロパティに影響を与えます。キューからパージされたメッセージは失われます。配信不能キューや履歴キューには送信されません。
このメソッドが各種のワークグループ モードで使用できるかどうかを次の表に示します。

// Connect to a queue on the local computer. MessageQueue queue = new MessageQueue(".\\exampleQueue"); // Delete all messages from the queue. queue.Purge();


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からMessageQueue.Purge メソッドを検索する場合は、下記のリンクをクリックしてください。

- MessageQueue.Purge メソッドのページへのリンク