ResourcePermissionBase 构造函数

定义

初始化 ResourcePermissionBase 类的新实例。

重载

ResourcePermissionBase()

初始化 ResourcePermissionBase 类的新实例。

ResourcePermissionBase(PermissionState)

在创建过程中,用指定级别的资源访问权限初始化 ResourcePermissionBase 类的新实例。

ResourcePermissionBase()

Source:
ResourcePermissionBase.cs
Source:
ResourcePermissionBase.cs
Source:
ResourcePermissionBase.cs

初始化 ResourcePermissionBase 类的新实例。

protected:
 ResourcePermissionBase();
protected ResourcePermissionBase ();
Protected Sub New ()

适用于

ResourcePermissionBase(PermissionState)

Source:
ResourcePermissionBase.cs
Source:
ResourcePermissionBase.cs
Source:
ResourcePermissionBase.cs

在创建过程中,用指定级别的资源访问权限初始化 ResourcePermissionBase 类的新实例。

protected:
 ResourcePermissionBase(System::Security::Permissions::PermissionState state);
protected ResourcePermissionBase (System.Security.Permissions.PermissionState state);
new System.Security.Permissions.ResourcePermissionBase : System.Security.Permissions.PermissionState -> System.Security.Permissions.ResourcePermissionBase
Protected Sub New (state As PermissionState)

参数

state
PermissionState

PermissionState 值之一。

例外

state 参数不是 PermissionState 的有效值。

适用于