This documentation is archived and is not being maintained.

AspNetHostingPermissionAttribute Constructor

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Initializes a new instance of the AspNetHostingPermissionAttribute class.

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

Parameters

action
One of the SecurityAction enumeration values.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

AspNetHostingPermissionAttribute Class | AspNetHostingPermissionAttribute Members | System.Web Namespace

Show: