AspNetHostingPermissionAttribute(SecurityAction) 构造函数

定义

初始化 AspNetHostingPermissionAttribute 类的新实例。

public:
 AspNetHostingPermissionAttribute(System::Security::Permissions::SecurityAction action);
public AspNetHostingPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.Web.AspNetHostingPermissionAttribute : System.Security.Permissions.SecurityAction -> System.Web.AspNetHostingPermissionAttribute
Public Sub New (action As SecurityAction)

参数

action
SecurityAction

SecurityAction 枚举值之一。

适用于