System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermission Class / MessageQueuePermission Constructor / MessageQueuePermission Constructor(PermissionState)
One of the System.Security.Permissions.PermissionState values.



In This Topic
    MessageQueuePermission Constructor(PermissionState)
    In This Topic
    Initializes a new instance of the MessageQueuePermission class with the specified permission state.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal state As PermissionState _
    )
    'Usage
     
    
    Dim state As PermissionState
     
    Dim instance As New MessageQueuePermission(state)
    public MessageQueuePermission( 
       PermissionState state
    )
    public:
    MessageQueuePermission( 
       PermissionState state
    )

    Parameters

    state
    One of the System.Security.Permissions.PermissionState values.
    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