共用方式為


Manager.GetSecuredClassFactory 方法

定義

重要

此 API 不符合 CLS 規範。

建立 Class Factory,提供組件的相關安全性資訊。

此應用程式開發介面不符合 CLS 標準。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int flags, int zone, System::String ^ site, System::String ^ uniqueIdString, System::String ^ fileHashString, System::String ^ assemblyName, System::String ^ typeName);
public:
 virtual Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int flags, int zone, System::String ^ site, System::String ^ uniqueIdString, System::String ^ fileHashString, System::String ^ typeName, System::String ^ assemblyName);
public virtual Microsoft.IE.ISecureFactory GetSecuredClassFactory (int flags, int zone, string site, string uniqueIdString, string fileHashString, string assemblyName, string typeName);
[System.CLSCompliant(false)]
public virtual Microsoft.IE.ISecureFactory GetSecuredClassFactory (int flags, int zone, string site, string uniqueIdString, string fileHashString, string typeName, string assemblyName);
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
[<System.CLSCompliant(false)>]
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 (flags As Integer, zone As Integer, site As String, uniqueIdString As String, fileHashString As String, assemblyName As String, typeName As String) As ISecureFactory
Public Overridable Function GetSecuredClassFactory (flags As Integer, zone As Integer, site As String, uniqueIdString As String, fileHashString As String, typeName As String, assemblyName As String) As ISecureFactory

參數

flags
Int32

下列其中一個 CORIESECURITY 值:

  • CORIESECURITY_ZONE:0x01

  • CORIESECURITY_SITE:0x02

zone
Int32

下列其中一個 URLZONE 值:

  • URLZONE_LOCAL_MACHINE:0x00

  • URLZONE_INTRANET:0x01

  • URLZONE_TRUSTED:0x02

  • URLZONE_INTERNET:0x03

  • URLZONE_UNTRUSTED:0x04

site
String

網站位址。

uniqueIdString
String

網站的唯一識別碼。

fileHashString
String

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

assemblyNametypeName
String

組件的名稱。

typeNameassemblyName
String

型別的名稱。

傳回

ISecureFactory

代表安全 Class Factory 的物件。

實作

屬性

備註

一般而言,大部分的參數值都可以從 Internet Security Manager 取得。

適用於