共用方式為


UrlIdentityPermissionAttribute(SecurityAction) 建構函式

定義

使用指定的 UrlIdentityPermissionAttribute 初始化 SecurityAction 類別的新執行個體。

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

參數

action
SecurityAction

其中一個 SecurityAction 值。

適用於