_AppDomain.ExecuteAssembly Método

Definición

Proporciona el acceso independiente de la versión de los objetos COM al método ExecuteAssembly.Provides COM objects with version-independent access to the ExecuteAssembly method.

Sobrecargas

ExecuteAssembly(String, Evidence)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método ExecuteAssembly(String, Evidence).Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence) method overload.

ExecuteAssembly(String)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método ExecuteAssembly(String).Provides COM objects with version-independent access to the ExecuteAssembly(String) method overload.

ExecuteAssembly(String, Evidence, String[])

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método ExecuteAssembly(String, Evidence, String[]).Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence, String[]) method overload.

ExecuteAssembly(String, Evidence)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método ExecuteAssembly(String, Evidence).Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence) method overload.

public:
 int ExecuteAssembly(System::String ^ assemblyFile, System::Security::Policy::Evidence ^ assemblySecurity);
public int ExecuteAssembly (string assemblyFile, System.Security.Policy.Evidence assemblySecurity);
abstract member ExecuteAssembly : string * System.Security.Policy.Evidence -> int
Public Function ExecuteAssembly (assemblyFile As String, assemblySecurity As Evidence) As Integer

Parámetros

assemblyFile
String

Nombre del archivo que contiene el ensamblado que se va a ejecutar.The name of the file that contains the assembly to execute.

assemblySecurity
Evidence

Evidencia para cargar el ensamblado.Evidence for loading the assembly.

Devoluciones

Valor devuelto por el punto de entrada del ensamblado.The value returned by the entry point of the assembly.

Comentarios

Vea la AppDomain.ExecuteAssembly(String, Evidence) sobrecarga del método.See the AppDomain.ExecuteAssembly(String, Evidence) method overload.

ExecuteAssembly(String)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método ExecuteAssembly(String).Provides COM objects with version-independent access to the ExecuteAssembly(String) method overload.

public:
 int ExecuteAssembly(System::String ^ assemblyFile);
public int ExecuteAssembly (string assemblyFile);
abstract member ExecuteAssembly : string -> int
Public Function ExecuteAssembly (assemblyFile As String) As Integer

Parámetros

assemblyFile
String

Nombre del archivo que contiene el ensamblado que se va a ejecutar.The name of the file that contains the assembly to execute.

Devoluciones

Valor devuelto por el punto de entrada del ensamblado.The value returned by the entry point of the assembly.

Comentarios

Vea la AppDomain.ExecuteAssembly(String) sobrecarga del método.See the AppDomain.ExecuteAssembly(String) method overload.

ExecuteAssembly(String, Evidence, String[])

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método ExecuteAssembly(String, Evidence, String[]).Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence, String[]) method overload.

public:
 int ExecuteAssembly(System::String ^ assemblyFile, System::Security::Policy::Evidence ^ assemblySecurity, cli::array <System::String ^> ^ args);
public int ExecuteAssembly (string assemblyFile, System.Security.Policy.Evidence assemblySecurity, string[] args);
abstract member ExecuteAssembly : string * System.Security.Policy.Evidence * string[] -> int
Public Function ExecuteAssembly (assemblyFile As String, assemblySecurity As Evidence, args As String()) As Integer

Parámetros

assemblyFile
String

Nombre del archivo que contiene el ensamblado que se va a ejecutar.The name of the file that contains the assembly to execute.

assemblySecurity
Evidence

Evidencia suministrada para el ensamblado.The supplied evidence for the assembly.

args
String[]

Argumentos del punto de entrada del ensamblado.The arguments to the entry point of the assembly.

Devoluciones

Valor devuelto por el punto de entrada del ensamblado.The value returned by the entry point of the assembly.

Comentarios

Vea la AppDomain.ExecuteAssembly(String, Evidence, String[]) sobrecarga del método.See the AppDomain.ExecuteAssembly(String, Evidence, String[]) method overload.

Se aplica a