ConfigurationPermission(PermissionState) Constructor

Definition

Initializes a new instance of the ConfigurationPermission class.

public:
 ConfigurationPermission(System::Security::Permissions::PermissionState state);
public ConfigurationPermission (System.Security.Permissions.PermissionState state);
new System.Configuration.ConfigurationPermission : System.Security.Permissions.PermissionState -> System.Configuration.ConfigurationPermission
Public Sub New (state As PermissionState)

Parameters

state
PermissionState

The permission level to grant.

Exceptions

The value of state is neither Unrestricted nor None.

Applies to