_AppDomain.ExecuteAssembly Method (String, Evidence, String[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String, Evidence, String[]) method overload.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

int ExecuteAssembly(
	string assemblyFile,
	Evidence assemblySecurity,
	string[] args
)

Parameters

assemblyFile
Type: System.String

The name of the file that contains the assembly to execute.

assemblySecurity
Type: System.Security.Policy.Evidence

The supplied evidence for the assembly.

args
Type: System.String[]

The arguments to the entry point of the assembly.

Return Value

Type: System.Int32

The value returned by the entry point of the assembly.

.NET Framework
Available since 1.1
Return to top
Show: