Export (0) Print
Expand All

SecurityAttribute Constructor

Initializes a new instance of SecurityAttribute with the specified SecurityAction.

[Visual Basic]
Public Sub New( _
   ByVal action As SecurityAction _
)
[C#]
public SecurityAttribute(
   SecurityAction action
);
[C++]
public: SecurityAttribute(
   SecurityAction action
);
[JScript]
public function SecurityAttribute(
   action : SecurityAction
);

Parameters

action
One of the SecurityAction values.

Exceptions

Exception Type Condition
ArgumentException The action parameter is not a valid value of SecurityAction.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

SecurityAttribute Class | SecurityAttribute Members | System.Security.Permissions Namespace

Show:
© 2014 Microsoft