CodeAccessPermission Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the CodeAccessPermission class.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

protected CodeAccessPermission()

This constructor is called to initialize state in the type whenever an instance of the derived class is created. Although you can explicitly call this constructor in the constructor declaration of the derived class constructor, this is not usually necessary; most compilers will automatically generate the call for you.

.NET Framework
Available since 1.1
Return to top
Show: