Assembly: System (in System.dll)
Adds a permission entry to the permission.
Declares that the calling code can access the resource protected by a permission demand through the code that calls this method, even if callers higher in the stack have not been granted permission to access the resource. Using Assert can create security issues.(Inherited from CodeAccessPermission.)
Clears the permission of the added permission entries.
Creates and returns an identical copy of the current permission object.(Overrides CodeAccessPermission.Copy().)
Obsolete.Prevents callers higher in the call stack from using the code that calls this method to access the resource specified by the current instance.(Inherited from CodeAccessPermission.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Reconstructs a security object with a specified state from an XML encoding.(Overrides CodeAccessPermission.FromXml(SecurityElement).)
Returns an array of the ResourcePermissionBaseEntry objects added to this permission.
Creates and returns a permission object that is the intersection of the current permission object and a target permission object.(Overrides CodeAccessPermission.Intersect(IPermission).)
Determines whether the current permission object is a subset of the specified permission.(Overrides CodeAccessPermission.IsSubsetOf(IPermission).)
Gets a value indicating whether the permission is unrestricted.
Prevents callers higher in the call stack from using the code that calls this method to access all resources except for the resource specified by the current instance.(Inherited from CodeAccessPermission.)
Removes a permission entry from the permission.
Creates and returns a string representation of the current permission object.(Inherited from CodeAccessPermission.)
Creates and returns an XML encoding of the security object and its current state.(Overrides CodeAccessPermission.ToXml().)
Creates a permission object that combines the current permission object and the target permission object.(Overrides CodeAccessPermission.Union(IPermission).)