Partager via


IHostEx.GetSecuredClassFactory Méthode

Définition

Crée une fabrique de classe sécurisée pour un type dans l’assembly spécifié.

public:
 Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int dwIdentityFlags, int dwZone, System::String ^ lpSite, System::String ^ pbSecurityId, System::String ^ lpHash, System::String ^ className, System::String ^ fileName);
public Microsoft.IE.ISecureFactory GetSecuredClassFactory (int dwIdentityFlags, int dwZone, string lpSite, string pbSecurityId, string lpHash, string className, string fileName);
abstract member GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
Public Function GetSecuredClassFactory (dwIdentityFlags As Integer, dwZone As Integer, lpSite As String, pbSecurityId As String, lpHash As String, className As String, fileName As String) As ISecureFactory

Paramètres

dwIdentityFlags
Int32

Une des valeurs CORIESECURITY suivantes :

  • CORIESECURITY_ZONE : 0x01

  • CORIESECURITY_SITE : 0x02

dwZone
Int32

Une des valeurs URLZONE suivantes :

  • URLZONE_LOCAL_MACHINE : 0x00

  • URLZONE_INTRANET : 0x01

  • URLZONE_TRUSTED : 0x02

  • URLZONE_INTERNET : 0x03

  • URLZONE_UNTRUSTED : 0x04

lpSite
String

L’adresse du site.

pbSecurityId
String

ID unique du site.

lpHash
String

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

className
String

Nom du type.

fileName
String

Nom de l'assembly.

Retours

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

S’applique à