System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermission Class / MessageQueuePermission Constructor / MessageQueuePermission Constructor(MessageQueuePermissionAccess,String)
One of the MessageQueuePermissionAccess values.
The path of the queue that is referenced by the MessageQueue.



In This Topic
    MessageQueuePermission Constructor(MessageQueuePermissionAccess,String)
    In This Topic
    Initializes a new instance of the MessageQueuePermission class with the specified 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 MessageQueuePermission(permissionAccess, path)
    public MessageQueuePermission( 
       MessageQueuePermissionAccess permissionAccess,
       string path
    )
    public:
    MessageQueuePermission( 
       MessageQueuePermissionAccess permissionAccess,
       String^ path
    )

    Parameters

    permissionAccess
    One of the MessageQueuePermissionAccess values.
    path
    The path of the queue that is referenced by the MessageQueue.
    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