共用方式為


ConfigurationPermission(PermissionState) 建構函式

定義

初始化 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)

參數

state
PermissionState

要授與的使用權限層級。

例外狀況

state 的值既不是 Unrestricted 也不是 None

適用於