ResourcePermissionBase | serializable |
System.Security.Permissions (system.dll) | abstract class |
public abstract class ResourcePermissionBase : System.Security.CodeAccessPermission : IUnrestrictedPermission {
// Protected Constructors
protected ResourcePermissionBase( );
protected ResourcePermissionBase(PermissionState state);
// Public Static Fields
public const string Any;
// =*
public const string Local;
// =.
// Protected Instance Properties
protected Type PermissionAccessType{set; get; }
protected string[ ] TagNames{set; get; }
// Public Instance Methods
public override IPermission Copy( );
// overrides CodeAccessPermission
public override void FromXml(System.Security.SecurityElement securityElement);
// overrides CodeAccessPermission
public override IPermission Intersect(System.Security.IPermission target);
// overrides CodeAccessPermission
public override bool IsSubsetOf(System.Security.IPermission target);
// overrides CodeAccessPermission
public bool IsUnrestricted( );
// implements IUnrestrictedPermission
public override SecurityElement ToXml( );
// overrides CodeAccessPermission
public override IPermission Union(System.Security.IPermission target);
// overrides CodeAccessPermission
// Protected Instance Methods
protected void AddPermissionAccess(ResourcePermissionBaseEntry entry);
protected void Clear( );
protected ResourcePermissionBaseEntry[ ] GetPermissionEntries( );
protected void RemovePermissionAccess(ResourcePermissionBaseEntry entry);
}
The abstract ResourcePermissionBase class provides
common functionality for Windows resource-oriented permission
classes, including the
System.Diagnostics.EventLogPermission,
System.Diagnostics.PerformanceCounterPermission,
System.DirectoryServices.DirectoryServicesPermission,
and
System.ServiceProcess.ServiceControllerPermission
classes.
Hierarchy
System.Object
System.Security.CodeAccessPermission(System.Security.IPermission,
System.Security.ISecurityEncodable,
System.Security.IStackWalk)
ResourcePermissionBase(IUnrestrictedPermission)
Subclasses
System.Diagnostics.{EventLogPermission,
PerformanceCounterPermission}
|