mscorlib(4.0.0.0) API with additions
ResourcePermissionBaseEntry.cs
2 {
6  {
7  private string[] accessPath;
8 
9  private int permissionAccess;
10 
13  public int PermissionAccess => permissionAccess;
14 
17  public string[] PermissionAccessPath => accessPath;
18 
21  {
22  permissionAccess = 0;
23  accessPath = new string[0];
24  }
25 
30  public ResourcePermissionBaseEntry(int permissionAccess, string[] permissionAccessPath)
31  {
32  if (permissionAccessPath == null)
33  {
34  throw new ArgumentNullException("permissionAccessPath");
35  }
36  this.permissionAccess = permissionAccess;
37  accessPath = permissionAccessPath;
38  }
39  }
40 }
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
int PermissionAccess
Gets an integer representation of the access level enumeration value.
ResourcePermissionBaseEntry(int permissionAccess, string[] permissionAccessPath)
Initializes a new instance of the T:System.Security.Permissions.ResourcePermissionBaseEntry class wit...
ResourcePermissionBaseEntry()
Initializes a new instance of the T:System.Security.Permissions.ResourcePermissionBaseEntry class.
Defines the smallest unit of a code access security permission set.
Specifies that the class can be serialized.
string [] PermissionAccessPath
Gets an array of strings that identify the resource you are protecting.