System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermissionEntry Class / MessageQueuePermissionEntry Constructor / MessageQueuePermissionEntry Constructor(MessageQueuePermissionAccess,String)
A bitwise combination of the MessageQueuePermissionAccess values. The PermissionAccess property is set to this value.
The path of the queue that is referenced by the MessageQueue object. The Path property is set to this value.



In This Topic
    MessageQueuePermissionEntry Constructor(MessageQueuePermissionAccess,String)
    In This Topic
    Initializes a new instance of the MessageQueuePermissionEntry class with the specified permission access levels and the path of the queue.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal permissionAccess As MessageQueuePermissionAccess, _
       ByVal path As String _
    )
    'Usage
     
    
    Dim permissionAccess As MessageQueuePermissionAccess
    Dim path As String
     
    Dim instance As New MessageQueuePermissionEntry(permissionAccess, path)
    public MessageQueuePermissionEntry( 
       MessageQueuePermissionAccess permissionAccess,
       string path
    )
    public:
    MessageQueuePermissionEntry( 
       MessageQueuePermissionAccess permissionAccess,
       String^ path
    )

    Parameters

    permissionAccess
    A bitwise combination of the MessageQueuePermissionAccess values. The PermissionAccess property is set to this value.
    path
    The path of the queue that is referenced by the MessageQueue object. The Path 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