ConfigurationPermission Constructor (PermissionState)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ConfigurationPermission class.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public ConfigurationPermission(
	PermissionState state
)

Parameters

state
Type: System.Security.Permissions.PermissionState

The permission level to grant.

Exception Condition
ArgumentException

The value of state is neither Unrestricted nor None.

.NET Framework
Available since 2.0
Return to top
Show: