語言

Manager.GetSecuredClassFactory 方法

定義

重要

此 API 不符合 CLS 規範。

建立一個類別工廠,提供關於組裝的安全性資訊。

此 API 不符合 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

網站的唯一ID。

fileHashString
String

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

assemblyNametypeName
String

組件的名稱。

typeNameassemblyName
String

類型的名稱。

傳回

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

實作

屬性

備註

通常,大多數參數值都可以從網際網路安全管理器取得。

適用於