ResourcePermissionBase.AddPermissionAccess Method
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.
Adds a permission entry to the permission.
protected:
void AddPermissionAccess(System::Security::Permissions::ResourcePermissionBaseEntry ^ entry);
protected void AddPermissionAccess(System.Security.Permissions.ResourcePermissionBaseEntry entry);
member this.AddPermissionAccess : System.Security.Permissions.ResourcePermissionBaseEntry -> unit
Protected Sub AddPermissionAccess (entry As ResourcePermissionBaseEntry)
Parameters
The ResourcePermissionBaseEntry to add.
Exceptions
The specified ResourcePermissionBaseEntry is null
.
The number of elements in the PermissionAccessPath property is not equal to the number of elements in the TagNames property.
-or-
The ResourcePermissionBaseEntry is already included in the permission.