TypeDescriptorPermission Constructor (PermissionState)

.NET Framework (current version)
 

Initializes a new instance of the TypeDescriptorPermission class.

Namespace:   System.Security.Permissions
Assembly:  System (in System.dll)

public:
TypeDescriptorPermission(
	PermissionState state
)

Parameters

state
Type: System.Security.Permissions::PermissionState

The PermissionState to request. Only Unrestricted and None are valid.

Exception Condition
ArgumentException

state is not a valid permission state. Only Unrestricted and None are valid.

.NET Framework
Available since 4.0
Return to top
Show: