MessageQueuePermissionAccess Enumeration
Defines access levels used by System.Messaging permission classes.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.MessagingAssembly: System.Messaging (in System.Messaging.dll)
| Member name | Description | |
|---|---|---|
![]() | None | The MessageQueue has no permissions. |
![]() | Browse | The MessageQueue can look at the queues that are available. |
![]() | Send | The MessageQueue can look at the queues that are available and send messages. |
![]() | Peek | The MessageQueue can look at the queues that are available and read the messages in the queue. |
![]() | Receive | The MessageQueue can look at the queues that are available, read the messages in the queue, and receive messages. |
![]() | Administer | The MessageQueue can look at the queues that are available, read the messages in the queue, and send and receive messages. |
The following code example uses MessageQueuePermissionAccess in creating a new instance of MessageQueuePermission.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
