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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.