MessageQueue.EnableConnectionCache プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)
接続のキャッシュをアプリケーションで維持するかどうかを示す値を取得または設定します。
名前空間: System.Messaging
アセンブリ: System.Messaging (system.messaging.dll 内)
構文
メッセージ キューの EnableConnectionCache プロパティに対し、値の取得と設定を行うコード例を次に示します。
// Set the MessageQueue.EnableConnectionCache property value. MessageQueue.EnableConnectionCache = false;
// Display the new value of the MessageQueue.EnableConnectionCache // property. Console.WriteLine("MessageQueue.EnableConnectionCache: {0}", MessageQueue.EnableConnectionCache);
// Set the MessageQueue.EnableConnectionCache property value. MessageQueue.set_EnableConnectionCache(false); // Display the new value of the MessageQueue.EnableConnectionCache // property. Console.WriteLine("MessageQueue.EnableConnectionCache: {0}", System.Convert.ToString(MessageQueue.get_EnableConnectionCache()));
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。