Partilhar via


IHostStubClass.GetSecuredClassFactory Método

Definição

Cria uma fábrica de classes segura para um tipo no assembly especificado.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

public:
 virtual Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int dwIdentityFlags, int dwZone, System::String ^ lpSite, System::String ^ pbSecurityId, System::String ^ lpHash, System::String ^ className, System::String ^ fileName) = Microsoft::IE::IHostEx::GetSecuredClassFactory;
public virtual 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
override this.GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
Public Overridable 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

Parâmetros

dwIdentityFlags
Int32

Um dos seguintes valores CORIESECURITY:

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

dwZone
Int32

Um dos seguintes valores URLZONE:

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

lpSite
String

O endereço do site.

pbSecurityId
String

Uma ID exclusiva para o site.

lpHash
String

O valor de hash codificado hexadecimal do assembly que está sendo carregado.

className
String

O nome do tipo.

fileName
String

O nome do assembly.

Retornos

Um objeto que representa a fábrica de classes segura.

Implementações

Aplica-se a