Breyta

Deila með


MessageQueueAccessRights Enum

Definition

Specifies a set of object-specific access rights for operations specific to Message Queuing.

This enumeration supports a bitwise combination of its member values.

public enum class MessageQueueAccessRights
[System.Flags]
public enum MessageQueueAccessRights
[<System.Flags>]
type MessageQueueAccessRights = 
Public Enum MessageQueueAccessRights
Inheritance
MessageQueueAccessRights
Attributes

Fields

Name Value Description
DeleteMessage 1

The right to delete messages from the queue.

PeekMessage 2

The right to peek messages from the queue.

ReceiveMessage 3

The right to receive messages from the queue. This includes the rights to delete and peek messages.

WriteMessage 4

The right to send messages to the queue.

DeleteJournalMessage 8

The right to delete messages from the journal queue.

ReceiveJournalMessage 10

The right to receive messages from the journal queue. This includes the rights to delete and peek messages from the journal queue.

SetQueueProperties 16

The right to modify properties of the queue.

GetQueueProperties 32

The right to read properties of the queue.

DeleteQueue 65536

The right to delete the queue.

GetQueuePermissions 131072

The right to read queue permissions.

GenericWrite 131108

A combination of GetQueueProperties, GetQueuePermissions, and WriteMessage.

GenericRead 131115

A combination of GetQueueProperties, GetQueuePermissions, ReceiveMessage, and ReceiveJournalMessage.

ChangeQueuePermissions 262144

The right to modify queue permissions.

TakeQueueOwnership 524288

The right to take ownership of the queue.

FullControl 983103

Full rights to the queue. A union of all other rights in the enumeration.

Remarks

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.

Applies to

See also