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

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

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

abstract ExecuteAssembly : 
        assemblyFile:string * 
        assemblySecurity:Evidence * 
        args:string[] -> int


Type: System.String

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

Type: System.Security.Policy.Evidence

The supplied evidence for the assembly.

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft