Specifies a set of object-specific access rights for operations specific to Message Queuing.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] <Flags> <Serializable> Public Enum MessageQueueAccessRights [C#] [Flags] [Serializable] public enum MessageQueueAccessRights [C++] [Flags] [Serializable] __value public enum MessageQueueAccessRights [JScript] public Flags Serializable enum MessageQueueAccessRights
The MessageQueueAccessRights enumeration enables you to specify Message Queuing object-specific rights such as receiving, peeking, or writing messages, or setting queue properties. It is one of two enumerations to which the GenericAccessRights enumeration maps extensive read, write, or execute abilities. The other, StandardAccessRights, enables you to specify rights common to most objects, for example, deleting the object or reading a security descriptor.
Note Both StandardAccessRights and MessageQueueAccessRights provide a member for deleting a queue. The needs of the application define which set of flags you use.
The access rights associated with the MessageQueueAccessRights enumeration are listed in the Permissions box of the queue properties window.
|ChangeQueuePermissions||The right to modify queue permissions.||262144|
|DeleteJournalMessage||The right to delete messages from the journal queue.||8|
|DeleteMessage||The right to delete messages from the queue.||1|
|DeleteQueue||The right to delete the queue.||65536|
|FullControl||Full rights to the queue. A union of all other rights in the enumeration.||983103|
|GenericRead||A combination of GetQueueProperties, GetQueuePermissions, ReceiveMessage, and ReceiveJournalMessage.||131115|
|GenericWrite||A combination of GetQueueProperties, GetQueuePermissions, and WriteMessage.||131108|
|GetQueuePermissions||The right to read queue permissions.||131072|
|GetQueueProperties||The right to read properties of the queue.||32|
|PeekMessage||The right to peek messages from the queue.||2|
|ReceiveJournalMessage||The right to receive messages from the journal queue. This includes the rights to delete and peek messages from the journal queue.||10|
|ReceiveMessage||The right to receive messages from the queue. This includes the rights to delete and peek messages.||3|
|SetQueueProperties||The right to modify properties of the queue.||16|
|TakeQueueOwnership||The right to take ownership of the queue.||524288|
|WriteMessage||The right to send messages to the queue.||4|
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Messaging (in System.Messaging.dll)