Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

_AppDomain::ExecuteAssembly Method (String^, Evidence^)

 

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

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

int ExecuteAssembly(
	String^ assemblyFile,
	Evidence^ assemblySecurity
)

Parameters

assemblyFile
Type: System::String^

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

assemblySecurity
Type: System.Security.Policy::Evidence^

Evidence for loading 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:
© 2017 Microsoft