Upraviť

Zdieľať cez


ResourcePermissionBaseEntry Constructors

Definition

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()

Source:
ResourcePermissionBaseEntry.cs
Source:
ResourcePermissionBaseEntry.cs

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[])

Source:
ResourcePermissionBaseEntry.cs
Source:
ResourcePermissionBaseEntry.cs

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