Flags Property

SecurityPermissionAttribute.Flags Property

 

Gets or sets all permission flags comprising the SecurityPermission permissions.

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

public SecurityPermissionFlag Flags { get; set; }

Property Value

Type: System.Security.Permissions.SecurityPermissionFlag

One or more of the SecurityPermissionFlag values combined using a bitwise OR.

Exception Condition
ArgumentException

An attempt is made to set this property to an invalid value. See SecurityPermissionFlag for the valid values.

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