ResourcePermissionBaseEntry 构造函数

定义

初始化 ResourcePermissionBaseEntry 类的新实例。Initializes a new instance of the ResourcePermissionBaseEntry class.

重载

ResourcePermissionBaseEntry()

初始化 ResourcePermissionBaseEntry 类的新实例。Initializes a new instance of the ResourcePermissionBaseEntry class.

ResourcePermissionBaseEntry(Int32, String[])

用指定的权限访问和权限访问路径初始化 ResourcePermissionBaseEntry 类的新实例。Initializes a new instance of the ResourcePermissionBaseEntry class with the specified permission access and permission access path.

ResourcePermissionBaseEntry()

初始化 ResourcePermissionBaseEntry 类的新实例。Initializes a new instance of the ResourcePermissionBaseEntry class.

public:
 ResourcePermissionBaseEntry();
public ResourcePermissionBaseEntry ();
Public Sub New ()

注解

PermissionAccess 属性设置为零。The PermissionAccess property is set to zero.

适用于

ResourcePermissionBaseEntry(Int32, String[])

用指定的权限访问和权限访问路径初始化 ResourcePermissionBaseEntry 类的新实例。Initializes a new instance of the ResourcePermissionBaseEntry class with the specified permission access and permission access path.

public:
 ResourcePermissionBaseEntry(int permissionAccess, cli::array <System::String ^> ^ permissionAccessPath);
public ResourcePermissionBaseEntry (int permissionAccess, string[] permissionAccessPath);
new System.Security.Permissions.ResourcePermissionBaseEntry : int * string[] -> System.Security.Permissions.ResourcePermissionBaseEntry
Public Sub New (permissionAccess As Integer, permissionAccessPath As String())

参数

permissionAccess
Int32

权限访问级别枚举值的整数表示形式。The integer representation of the permission access level enumeration value. PermissionAccess 属性被设置为该值。The PermissionAccess property is set to this value.

permissionAccessPath
String[]

标识处于保护中的资源的字符串数组。The array of strings that identify the resource you are protecting. PermissionAccessPath 属性被设置为该值。The PermissionAccessPath property is set to this value.

例外

指定的 permissionAccessPathnullThe specified permissionAccessPath is null.

适用于