MessageQueueAccessRights MessageQueueAccessRights MessageQueueAccessRights MessageQueueAccessRights Enum

定义

为特定于消息队列的操作指定一组对象特定的访问权限。Specifies a set of object-specific access rights for operations specific to Message Queuing.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class MessageQueueAccessRights
[System.Flags]
[System.Serializable]
public enum MessageQueueAccessRights
type MessageQueueAccessRights = 
Public Enum MessageQueueAccessRights
继承
MessageQueueAccessRightsMessageQueueAccessRightsMessageQueueAccessRightsMessageQueueAccessRights
属性

字段

ChangeQueuePermissions ChangeQueuePermissions ChangeQueuePermissions ChangeQueuePermissions 262144

修改队列权限的权限。The right to modify queue permissions.

DeleteJournalMessage DeleteJournalMessage DeleteJournalMessage DeleteJournalMessage 8

从日记队列删除消息的权限。The right to delete messages from the journal queue.

DeleteMessage DeleteMessage DeleteMessage DeleteMessage 1

从队列删除消息的权限。The right to delete messages from the queue.

DeleteQueue DeleteQueue DeleteQueue DeleteQueue 65536

删除队列的权限。The right to delete the queue.

FullControl FullControl FullControl FullControl 983103

针对队列的完全权限。Full rights to the queue. 枚举中其他所有权限的联合。A union of all other rights in the enumeration.

GenericRead GenericRead GenericRead GenericRead 131115

GetQueuePropertiesGetQueuePermissionsReceiveMessageReceiveJournalMessage 的组合。A combination of GetQueueProperties, GetQueuePermissions, ReceiveMessage, and ReceiveJournalMessage.

GenericWrite GenericWrite GenericWrite GenericWrite 131108

GetQueuePropertiesGetQueuePermissionsWriteMessage 的组合。A combination of GetQueueProperties, GetQueuePermissions, and WriteMessage.

GetQueuePermissions GetQueuePermissions GetQueuePermissions GetQueuePermissions 131072

读取队列权限的权限。The right to read queue permissions.

GetQueueProperties GetQueueProperties GetQueueProperties GetQueueProperties 32

读取队列属性的权限。The right to read properties of the queue.

PeekMessage PeekMessage PeekMessage PeekMessage 2

从队列查看消息的权限。The right to peek messages from the queue.

ReceiveJournalMessage ReceiveJournalMessage ReceiveJournalMessage ReceiveJournalMessage 10

从日记队列接收消息的权限。The right to receive messages from the journal queue. 这包括从日记队列删除和查看消息的权限。This includes the rights to delete and peek messages from the journal queue.

ReceiveMessage ReceiveMessage ReceiveMessage ReceiveMessage 3

从队列接收消息的权限。The right to receive messages from the queue. 这包括删除和查看消息的权限。This includes the rights to delete and peek messages.

SetQueueProperties SetQueueProperties SetQueueProperties SetQueueProperties 16

修改队列属性的权限。The right to modify properties of the queue.

TakeQueueOwnership TakeQueueOwnership TakeQueueOwnership TakeQueueOwnership 524288

取得队列所有权的权限。The right to take ownership of the queue.

WriteMessage WriteMessage WriteMessage WriteMessage 4

向队列发送消息的权限。The right to send messages to the queue.

注解

MessageQueueAccessRights枚举使你可以指定特定于消息队列对象的权限, 例如接收、查看或写入消息, 或设置队列属性。The MessageQueueAccessRights enumeration enables you to specify Message Queuing object-specific rights such as receiving, peeking, or writing messages, or setting queue properties. 它是两个枚举中的一个枚举GenericAccessRights , 枚举将大量的读取、写入或执行功能映射到该枚举。It is one of two enumerations to which the GenericAccessRights enumeration maps extensive read, write, or execute abilities. 另外, StandardAccessRights还可以指定对大多数对象通用的权限, 例如, 删除对象或读取安全描述符。The other, StandardAccessRights, enables you to specify rights common to most objects, for example, deleting the object or reading a security descriptor.

StandardAccessRightsMessageQueueAccessRights均提供了一个用于删除队列的成员。Both StandardAccessRights and MessageQueueAccessRights provide a member for deleting a queue. 应用程序的需求定义你使用哪组标志。The needs of the application define which set of flags you use.

MessageQueueAccessRights枚举关联的访问权限在 "队列属性" 窗口的 "权限" 框中列出。The access rights associated with the MessageQueueAccessRights enumeration are listed in the Permissions box of the queue properties window.

适用于

另请参阅