語言

IHostEx.GetSecuredClassFactory 方法

定義

為指定組件中的型別建立安全類別工廠。

public:
 Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int dwIdentityFlags, int dwZone, System::String ^ lpSite, System::String ^ pbSecurityId, System::String ^ lpHash, System::String ^ className, System::String ^ fileName);
public 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
Public 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

組件的名稱。

傳回

一個代表安全類別工廠的物件。

適用於