SecurityAttribute Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the SecurityAttribute class with the specified SecurityAction.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- action
- Type: System.Security.Permissions.SecurityAction
One of the enumeration values.
You cannot create an instance of the SecurityAttribute class. You must inherit from this class to make use of its functionality.
This class constructor supports the .NET Framework for Windows Phone library code and is not intended to be used by Windows Phone app code. The class has been marked as obsolete so that it will display a compilation warning. You can use this class constructor in aWindows Phone app, but it will have no effect.