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
.