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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.