UIPermissionAttribute(SecurityAction) 构造函数

定义

使用指定的 UIPermissionAttribute 初始化 SecurityAction 类的新实例。Initializes a new instance of the UIPermissionAttribute class with the specified SecurityAction.

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

参数

action
SecurityAction

SecurityAction 值之一。One of the SecurityAction values.

适用于