ClrObjectFactory.CreateFromAssembly(String, String, String) Método
Definição
Ativa um assembly remoto por meio da comunicação remota do .NET, usando o arquivo de configuração do assembly.Activates a remote assembly through .NET remoting, using the assembly's configuration file.
public:
virtual System::Object ^ CreateFromAssembly(System::String ^ AssemblyName, System::String ^ TypeName, System::String ^ Mode);
public object CreateFromAssembly (string AssemblyName, string TypeName, string Mode);
abstract member CreateFromAssembly : string * string * string -> obj
override this.CreateFromAssembly : string * string * string -> obj
Public Function CreateFromAssembly (AssemblyName As String, TypeName As String, Mode As String) As Object
Parâmetros
- AssemblyName
- String
O nome do assembly a ser ativado.The name of the assembly to activate.
- TypeName
- String
O nome do tipo a ser ativado.The name of the type to activate.
- Mode
- String
Não usado.Not used.
Retornos
Uma instância do Object que representa o tipo, com a cultura, os argumentos e o conjunto de atributos de associação e de ativação definidos como null ou null se o parâmetro TypeName não for encontrado.An instance of the Object that represents the type, with culture, arguments, and binding and activation attributes set to null, or null if the TypeName parameter is not found.
Implementações
Exceções
Um chamador na cadeia de chamadas não tem permissão para acessar o código não gerenciado.A caller in the call chain does not have permission to access unmanaged code.
A classe não está registrada.The class is not registered.