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)
|ChangeQueuePermissions||The right to modify queue permissions.|
|DeleteJournalMessage||The right to delete messages from the journal queue.|
|DeleteMessage||The right to delete messages from the queue.|
|DeleteQueue||The right to delete the queue.|
|FullControl||Full rights to the queue. A union of all other rights in the enumeration.|
|GenericRead||A combination of GetQueueProperties, GetQueuePermissions, ReceiveMessage, and ReceiveJournalMessage.|
|GenericWrite||A combination of GetQueueProperties, GetQueuePermissions, and WriteMessage.|
|GetQueuePermissions||The right to read queue permissions.|
|GetQueueProperties||The right to read properties of the queue.|
|PeekMessage||The right to peek messages from the queue.|
|ReceiveJournalMessage||The right to receive messages from the journal queue. This includes the rights to delete and peek messages from the journal queue.|
|ReceiveMessage||The right to receive messages from the queue. This includes the rights to delete and peek messages.|
|SetQueueProperties||The right to modify properties of the queue.|
|TakeQueueOwnership||The right to take ownership of the queue.|
|WriteMessage||The right to send messages to the queue.|
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.
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.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.