CodeAccessSecurityAttribute Constructor
Collapse the table of content
Expand the table of content

CodeAccessSecurityAttribute Constructor (SecurityAction)

 

Initializes a new instance of CodeAccessSecurityAttribute with the specified SecurityAction.

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

protected CodeAccessSecurityAttribute(
	SecurityAction action
)

Parameters

action
Type: System.Security.Permissions.SecurityAction

One of the SecurityAction values.

You cannot create an instance of this class. You must inherit from this class to make use of its functionality.

Notes to Inheritors:

Derived classes must have only one constructor that takes a SecurityAction as its only parameter.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft