SecurityPermissionAttribute Constructor

May 11, 2014

Initializes a new instance of the SecurityPermissionAttribute class with the specified SecurityAction.

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

public SecurityPermissionAttribute(
	SecurityAction action


Type: System.Security.Permissions.SecurityAction
One of the enumeration values.

This class constructor supports the .NET Framework for Windows Phone library code and is not intended to be used by Windows Phone code. The class has been marked as obsolete so that it will display a compilation warning. You can use this class constructor in a Windows Phone app, but it will have no effect.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft