ResourcePermissionBase.RemovePermissionAccess 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.
Removes a permission entry from the permission.
protected:
void RemovePermissionAccess(System::Security::Permissions::ResourcePermissionBaseEntry ^ entry);
protected void RemovePermissionAccess (System.Security.Permissions.ResourcePermissionBaseEntry entry);
member this.RemovePermissionAccess : System.Security.Permissions.ResourcePermissionBaseEntry -> unit
Protected Sub RemovePermissionAccess (entry As ResourcePermissionBaseEntry)
Parameters
The ResourcePermissionBaseEntry to remove.
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 not in the permission.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.