Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

[<SerializableAttribute>]
[<FlagsAttribute>]
type MessageQueuePermissionAccess

Member nameDescription
AdministerThe MessageQueue can look at the queues that are available, read the messages in the queue, and send and receive messages.
BrowseThe MessageQueue can look at the queues that are available.
NoneThe MessageQueue has no permissions.
PeekThe MessageQueue can look at the queues that are available and read the messages in the queue.
ReceiveThe MessageQueue can look at the queues that are available, read the messages in the queue, and receive messages.
SendThe MessageQueue can look at the queues that are available and send messages.

The following code example uses MessageQueuePermissionAccess in creating a new instance of MessageQueuePermission.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft