13 internal bool m_unrestricted;
36 return m_unrestricted;
40 m_unrestricted = value;
56 internal static IntPtr FindSecurityAttributeTypeHandle(
string typeName)
59 Type type =
Type.
GetType(typeName, throwOnError:
false, ignoreCase:
false);
abstract IPermission CreatePermission()
When overridden in a derived class, creates a permission object that can then be serialized into bina...
virtual RuntimeTypeHandle TypeHandle
Gets the handle for the current T:System.Type.
SecurityAction Action
Gets or sets a security action.
Represents the base class for custom attributes.
IntPtr Value
Gets a handle to the type represented by this instance.
SecurityAction
Specifies the security actions that can be performed using declarative security.
Represents a collection that can contain many different types of permissions.
Specifies the base attribute class for declarative security from which T:System.Security....
bool Unrestricted
Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by t...
A platform-specific type that is used to represent a pointer or a handle.
Represents type declarations: class types, interface types, array types, value types,...
Defines methods implemented by permission types.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
SecurityAttribute(SecurityAction action)
Initializes a new instance of T:System.Security.Permissions.SecurityAttribute with the specified T:Sy...
static readonly IntPtr Zero
A read-only field that represents a pointer or handle that has been initialized to zero.
Specifies that the class can be serialized.
static Type GetType(string typeName, bool throwOnError, bool ignoreCase)
Gets the T:System.Type with the specified name, specifying whether to throw an exception if the type ...
void Assert()
Declares that the calling code can access the resource protected by a permission demand through the c...