System.Messaging Reference (Document! X Sample)
MessageQueuePermissionEntry Constructor(MessageQueuePermissionAccess,String,String,String)



System.Messaging Namespace > MessageQueuePermissionEntry Class > MessageQueuePermissionEntry Constructor : MessageQueuePermissionEntry Constructor(MessageQueuePermissionAccess,String,String,String)
A bitwise combination of the MessageQueuePermissionAccess values. The PermissionAccess property is set to this value.
The name of the computer where the Message Queuing queue is located. The MachineName property is set to this value.
The queue description. The Label property is set to this value.
The queue category (Message Queuing type identifier). The Category property is set to this value.
Initializes a new instance of the MessageQueuePermissionEntry class with the specified permission access levels, the name of the computer where the queue is located, the queue description, and the queue category.
Syntax
'Declaration
 
Public Function New( _
   ByVal permissionAccess As MessageQueuePermissionAccess, _
   ByVal machineName As String, _
   ByVal label As String, _
   ByVal category As String _
)
'Usage
 
Dim permissionAccess As MessageQueuePermissionAccess
Dim machineName As String
Dim label As String
Dim category As String
 
Dim instance As New MessageQueuePermissionEntry(permissionAccess, machineName, label, category)

Parameters

permissionAccess
A bitwise combination of the MessageQueuePermissionAccess values. The PermissionAccess property is set to this value.
machineName
The name of the computer where the Message Queuing queue is located. The MachineName property is set to this value.
label
The queue description. The Label property is set to this value.
category
The queue category (Message Queuing type identifier). The Category property is set to this value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MessageQueuePermissionEntry Class
MessageQueuePermissionEntry Members
Overload List