共用方式為


IHostEx.GetSecuredClassFactory 方法

定義

在指定組件中建立類型的安全 Class Factory。

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

網站的唯一識別碼。

lpHash
String

載入中組件的十六進位編碼雜湊值。

className
String

型別的名稱。

fileName
String

組件的名稱。

傳回

代表安全 Class Factory 的物件。

適用於