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

类型的名称。

返回

表示安全类工厂的对象。

实现

属性

注解

通常,可以从 Internet 安全管理器获取大多数参数值。

适用于