MessageQueuePermission Constructor (PermissionState)
.NET Framework (current version)
Initializes a new instance of the MessageQueuePermission class with the specified permission state.
Assembly: System.Messaging (in System.Messaging.dll)
Parameters
- state
-
Type:
System.Security.Permissions::PermissionState
One of the PermissionState values.
The following code example creates a new instance of MessageQueuePermission.
// Create a new instance of MessageQueuePermission. MessageQueuePermission permission = new MessageQueuePermission( System.Security.Permissions.PermissionState.Unrestricted);
.NET Framework
Available since 1.1
Available since 1.1
Show: