TypeDescriptorPermission Constructors

Definition

Initializes a new instance of the TypeDescriptorPermission class.

Overloads

TypeDescriptorPermission(PermissionState)

Initializes a new instance of the TypeDescriptorPermission class.

TypeDescriptorPermission(TypeDescriptorPermissionFlags)

Initializes a new instance of the TypeDescriptorPermission class with the specified permission flags.

TypeDescriptorPermission(PermissionState)

Source:
TypeDescriptorPermission.cs
Source:
TypeDescriptorPermission.cs
Source:
TypeDescriptorPermission.cs
Source:
TypeDescriptorPermission.cs

Initializes a new instance of the TypeDescriptorPermission class.

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

Parameters

state
PermissionState

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

Exceptions

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

See also

Applies to

TypeDescriptorPermission(TypeDescriptorPermissionFlags)

Source:
TypeDescriptorPermission.cs
Source:
TypeDescriptorPermission.cs
Source:
TypeDescriptorPermission.cs
Source:
TypeDescriptorPermission.cs

Initializes a new instance of the TypeDescriptorPermission class with the specified permission flags.

public:
 TypeDescriptorPermission(System::Security::Permissions::TypeDescriptorPermissionFlags flag);
public TypeDescriptorPermission (System.Security.Permissions.TypeDescriptorPermissionFlags flag);
new System.Security.Permissions.TypeDescriptorPermission : System.Security.Permissions.TypeDescriptorPermissionFlags -> System.Security.Permissions.TypeDescriptorPermission
Public Sub New (flag As TypeDescriptorPermissionFlags)

Parameters

flag
TypeDescriptorPermissionFlags

The permission flags to request.

See also

Applies to