Export (0) Print
Expand All

SecurityAttribute Members

SecurityAttribute overview

Public Constructors

public constructorSecurityAttribute Constructor Initializes a new instance of SecurityAttribute with the specified SecurityAction.

Public Properties

public propertyAction Gets or sets a security action.
public propertyTypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
public propertyUnrestricted Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

Public Methods

public methodCreatePermission When overridden in a derived class, creates a permission object that can then be serialized into binary form and persistently stored along with the SecurityAction in an assembly's metadata.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Attribute) Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
public methodMatch (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SecurityAttribute Class | System.Security.Permissions Namespace

Show:
© 2014 Microsoft