MessageQueuePermissionAttribute.Path プロパティ
アセンブリ: System.Messaging (system.messaging.dll 内)

Dim instance As MessageQueuePermissionAttribute Dim value As String value = instance.Path instance.Path = value
MessageQueue が参照するキュー。


メッセージ キューのアクセス許可属性の Path プロパティに対し、値の取得と設定を行うコード例を次に示します。
// Connect to a queue on the local computer. MessageQueue queue = new MessageQueue(".\\exampleQueue"); // Create a new instance of MessageQueuePermissionAttribute. MessageQueuePermissionAttribute attribute = new MessageQueuePermissionAttribute( System.Security.Permissions.SecurityAction.Assert); // Set the attribute's Path property value, based on the queue's Path // property value. attribute.Path = queue.Path; // Display the new value of the attribute's Path property. Console.WriteLine("attribute.Path: {0}", attribute.Path);
// Connect to a queue on the local computer. MessageQueue^ queue = gcnew MessageQueue(".\\exampleQueue"); // Create a new instance of MessageQueuePermissionAttribute. MessageQueuePermissionAttribute^ attribute = gcnew MessageQueuePermissionAttribute( System::Security::Permissions::SecurityAction::Assert); // Set the attribute's Path property value, based on the queue's Path // property value. attribute->Path = queue->Path; // Display the new value of the attribute's Path property. Console::WriteLine("attribute->Path: {0}", attribute->Path); queue->Close();
// Connect to a queue on the local computer. MessageQueue queue = new MessageQueue(".\\exampleQueue"); // Create a new instance of MessageQueuePermissionAttribute. MessageQueuePermissionAttribute attribute = new MessageQueuePermissionAttribute( System.Security.Permissions.SecurityAction.Assert); // Set the attribute's Path property value, based on the queue's Path // property value. attribute.set_Path(queue.get_Path()); // Display the new value of the attribute's Path property. Console.WriteLine("attribute.Path: {0}", attribute.get_Path());


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からMessageQueuePermissionAttribute.Path プロパティを検索する場合は、下記のリンクをクリックしてください。

- MessageQueuePermissionAttribute.Path プロパティのページへのリンク