ResourcePermissionBase.RemovePermissionAccess Method (ResourcePermissionBaseEntry)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Removes a permission entry from the permission.

Namespace:   System.Security.Permissions
Assembly:  System (in System.dll)

protected void RemovePermissionAccess(
	ResourcePermissionBaseEntry entry

Exception Condition

The specified ResourcePermissionBaseEntry is null.


The number of elements in the ResourcePermissionBaseEntry.PermissionAccessPath property is not equal to the number of elements in the ResourcePermissionBase.TagNames property.


The ResourcePermissionBaseEntry is not in the permission.

.NET Framework
Available since 1.1
Return to top