Redigera

Dela via


ResourcePermissionBase.RemovePermissionAccess Method

Definition

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

Exceptions

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