IHostStubClass.GetSecuredClassFactory 方法

定义

为指定程序集中的类型创建安全类工厂。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int dwIdentityFlags, int dwZone, System::String ^ lpSite, System::String ^ pbSecurityId, System::String ^ lpHash, System::String ^ className, System::String ^ fileName) = Microsoft::IE::IHostEx::GetSecuredClassFactory;
public virtual Microsoft.IE.ISecureFactory GetSecuredClassFactory (int dwIdentityFlags, int dwZone, string lpSite, string pbSecurityId, string lpHash, string className, string fileName);
abstract member GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
override this.GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
Public Overridable Function GetSecuredClassFactory (dwIdentityFlags As Integer, dwZone As Integer, lpSite As String, pbSecurityId As String, lpHash As String, className As String, fileName As String) As ISecureFactory

参数

dwIdentityFlags
Int32

下列 CORIESECURITY 值之一:

  • CORIESECURITY_ZONE:0x01

  • CORIESECURITY_SITE:0x02

dwZone
Int32

下列 URLZONE 值之一:

  • URLZONE_LOCAL_MACHINE:0x00

  • URLZONE_INTRANET:0x01

  • URLZONE_TRUSTED:0x02

  • URLZONE_INTERNET:0x03

  • URLZONE_UNTRUSTED:0x04

lpSite
String

站点地址。

pbSecurityId
String

站点的唯一 ID。

lpHash
String

正在加载的程序集的十六进制编码哈希值。

className
String

类型的名称。

fileName
String

程序集的名称。

返回

表示安全类工厂的对象。

实现

适用于