MessageQueue.GetMachineId メソッドとは何? わかりやすく解説 Weblio辞書 (original) (raw)
この MessageQueue が参照するキューが存在するコンピュータの ID を取得します。
名前空間: System.Messaging
アセンブリ: System.Messaging (system.messaging.dll 内)
構文
GetMachineId を呼び出すコード例を次に示します。
// Get the name of the computer that contains the queue. string machineName = queue.MachineName;
// Display the return value of the MessageQueue.GetMachineId method. Console.WriteLine("MessageQueue.GetMachineId(): {0}", MessageQueue.GetMachineId(machineName));
// Get the name of the computer that contains the queue. String machineName = queue.get_MachineName(); // Display the return value of the MessageQueue.GetMachineId method. Console.WriteLine("MessageQueue.GetMachineId(): {0}", MessageQueue.GetMachineId(machineName));
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。