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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.