CodeAccessSecurityAttribute

CodeAccessSecurityAttributeECMA 1.0, serializable

System.Security.Permissions (mscorlib.dll)abstract class
public abstract class CodeAccessSecurityAttribute : SecurityAttribute { // Public Constructors    public CodeAccessSecurityAttribute(SecurityAction action); }

This abstract class, which extends the SecurityAttribute class, provides the base class from which all permission attributes derive. Permission attributes provide the mechanism through which to express declarative security statements for various program elements. By convention, all permission attributes that derive from CodeAccessSecurityAttribute implement a constructor that takes a value of the SecurityAction enumeration. The value of the SecurityAction argument specifies the declarative security statement represented by the permission attribute instance.

Hierarchy

System.Object System.Attribute SecurityAttribute CodeAccessSecurityAttribute

Subclasses

Multiple types

Valid On

Assembly, Class, Struct, Constructor, Method



Programming. NET Security
Programming .Net Security
ISBN: 0596004427
EAN: 2147483647
Year: 2005
Pages: 346

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net