Bagikan melalui


ConfigurationPermission(PermissionState) Konstruktor

Definisi

Menginisialisasi instans baru kelas ConfigurationPermission.

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)

Parameter

state
PermissionState

Tingkat izin yang akan diberikan.

Pengecualian

Nilai state bukan Unrestricted atau None.

Berlaku untuk