ResourcePermissionBaseEntry Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ResourcePermissionBaseEntry class.
Overloads
ResourcePermissionBaseEntry() |
Initializes a new instance of the ResourcePermissionBaseEntry class. |
ResourcePermissionBaseEntry(Int32, String[]) |
Initializes a new instance of the ResourcePermissionBaseEntry class with the specified permission access and permission access path. |
ResourcePermissionBaseEntry()
Initializes a new instance of the ResourcePermissionBaseEntry class.
public:
ResourcePermissionBaseEntry();
public ResourcePermissionBaseEntry ();
Public Sub New ()
Remarks
The PermissionAccess property is set to zero.
Applies to
ResourcePermissionBaseEntry(Int32, String[])
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())
Parameters
- permissionAccess
- Int32
The integer representation of the permission access level enumeration value. The PermissionAccess property is set to this value.
- permissionAccessPath
- String[]
The array of strings that identify the resource you are protecting. The PermissionAccessPath property is set to this value.
Exceptions
The specified permissionAccessPath
is null
.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈