System.Messaging Reference (Document! X Sample)
MessageQueuePermission Constructor(PermissionState)



System.Messaging Namespace > MessageQueuePermission Class > MessageQueuePermission Constructor : MessageQueuePermission Constructor(PermissionState)
One of the System.Security.Permissions.PermissionState values.
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

Reference

MessageQueuePermission Class
MessageQueuePermission Members
Overload List