コード例 #1
0
 public MailslotPermissionEntry(MailslotPermissionAccess permissionAccess, string name, string machineName)
 {
     this.permissionAccess = permissionAccess;
     this.name             = name;
     this.machineName      = machineName;
 }
コード例 #2
0
    //<Snippet2>
	public MailslotPermission(MailslotPermissionAccess permissionAccess, string name, string machineName)
	{
		SetNames();
		this.AddPermissionAccess(new MailslotPermissionEntry(permissionAccess, name, machineName));              
	}
コード例 #3
0
 internal MailslotPermissionEntry(ResourcePermissionBaseEntry baseEntry)
 {
     this.permissionAccess = (MailslotPermissionAccess)baseEntry.PermissionAccess;
     this.name             = baseEntry.PermissionAccessPath[0];
     this.machineName      = baseEntry.PermissionAccessPath[1];
 }