Partager via


Manager.GetSecuredClassFactory Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Crée une fabrique de classe qui fournit des informations de sécurité sur l’assembly.

Cette API n’est pas conforme CLS.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

flags
Int32

Une des valeurs CORIESECURITY suivantes :

  • CORIESECURITY_ZONE : 0x01

  • CORIESECURITY_SITE : 0x02

zone
Int32

Une des valeurs URLZONE suivantes :

  • URLZONE_LOCAL_MACHINE : 0x00

  • URLZONE_INTRANET : 0x01

  • URLZONE_TRUSTED : 0x02

  • URLZONE_INTERNET : 0x03

  • URLZONE_UNTRUSTED : 0x04

site
String

L’adresse du site.

uniqueIdString
String

ID unique du site.

fileHashString
String

Valeur de hachage encodée en hexadécimal de l’assembly en cours de chargement.

assemblyNametypeName
String

Nom de l'assembly.

typeNameassemblyName
String

Nom du type.

Retours

ISecureFactory

Objet qui représente la fabrique de classe sécurisée.

Implémente

Attributs

Remarques

En règle générale, la plupart des valeurs de paramètres peuvent être obtenues à partir du gestionnaire de sécurité Internet.

S’applique à