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

Уникальный идентификатор сайта.

fileHashString
String

Хэш-значение загружаемой сборки в шестнадцатеричной кодировке.

assemblyNametypeName
String

Имя сборки.

typeNameassemblyName
String

Имя типа.

Возвращаемое значение

ISecureFactory

Объект, представляющий фабрику защищенного класса.

Реализации

Атрибуты

Комментарии

Как правило, большинство значений параметров можно получить из диспетчера безопасности Интернета.

Применяется к