_AppDomain.Load Method

Definition

Provides COM objects with version-independent access to the Load method.

Overloads

Load(Byte[], Byte[], Evidence)

Provides COM objects with version-independent access to the Load(Byte[], Byte[], Evidence) method overload.

Load(String, Evidence)

Provides COM objects with version-independent access to the Load(String, Evidence) method overload.

Load(Byte[], Byte[])

Provides COM objects with version-independent access to the Load(Byte[], Byte[]) method overload.

Load(AssemblyName, Evidence)

Provides COM objects with version-independent access to the Load(AssemblyName, Evidence) method overload.

Load(AssemblyName)

Provides COM objects with version-independent access to the Load(AssemblyName) method overload.

Load(Byte[])

Provides COM objects with version-independent access to the Load(Byte[]) method overload.

Load(String)

Provides COM objects with version-independent access to the Load(String) method overload.

Load(Byte[], Byte[], Evidence)

Provides COM objects with version-independent access to the Load(Byte[], Byte[], Evidence) method overload.

public:
 System::Reflection::Assembly ^ Load(cli::array <System::Byte> ^ rawAssembly, cli::array <System::Byte> ^ rawSymbolStore, System::Security::Policy::Evidence ^ securityEvidence);
public System.Reflection.Assembly Load (byte[] rawAssembly, byte[] rawSymbolStore, System.Security.Policy.Evidence securityEvidence);
abstract member Load : byte[] * byte[] * System.Security.Policy.Evidence -> System.Reflection.Assembly
Public Function Load (rawAssembly As Byte(), rawSymbolStore As Byte(), securityEvidence As Evidence) As Assembly

Parameters

rawAssembly
Byte[]

An array of type byte that is a COFF-based image containing an emitted assembly.

rawSymbolStore
Byte[]

An array of type byte containing the raw bytes representing the symbols for the assembly.

securityEvidence
Evidence

Evidence for loading the assembly.

Returns

The loaded assembly.

Applies to

Load(String, Evidence)

Provides COM objects with version-independent access to the Load(String, Evidence) method overload.

public:
 System::Reflection::Assembly ^ Load(System::String ^ assemblyString, System::Security::Policy::Evidence ^ assemblySecurity);
public System.Reflection.Assembly Load (string assemblyString, System.Security.Policy.Evidence assemblySecurity);
abstract member Load : string * System.Security.Policy.Evidence -> System.Reflection.Assembly
Public Function Load (assemblyString As String, assemblySecurity As Evidence) As Assembly

Parameters

assemblyString
String

The display name of the assembly. See FullName.

assemblySecurity
Evidence

Evidence for loading the assembly.

Returns

The loaded assembly.

Remarks

See the AppDomain.Load(String, Evidence) method overload.

Applies to

Load(Byte[], Byte[])

Provides COM objects with version-independent access to the Load(Byte[], Byte[]) method overload.

public:
 System::Reflection::Assembly ^ Load(cli::array <System::Byte> ^ rawAssembly, cli::array <System::Byte> ^ rawSymbolStore);
public System.Reflection.Assembly Load (byte[] rawAssembly, byte[] rawSymbolStore);
abstract member Load : byte[] * byte[] -> System.Reflection.Assembly
Public Function Load (rawAssembly As Byte(), rawSymbolStore As Byte()) As Assembly

Parameters

rawAssembly
Byte[]

An array of type byte that is a COFF-based image containing an emitted assembly.

rawSymbolStore
Byte[]

An array of type byte containing the raw bytes representing the symbols for the assembly.

Returns

The loaded assembly.

Applies to

Load(AssemblyName, Evidence)

Provides COM objects with version-independent access to the Load(AssemblyName, Evidence) method overload.

public:
 System::Reflection::Assembly ^ Load(System::Reflection::AssemblyName ^ assemblyRef, System::Security::Policy::Evidence ^ assemblySecurity);
public System.Reflection.Assembly Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity);
abstract member Load : System.Reflection.AssemblyName * System.Security.Policy.Evidence -> System.Reflection.Assembly
Public Function Load (assemblyRef As AssemblyName, assemblySecurity As Evidence) As Assembly

Parameters

assemblyRef
AssemblyName

An object that describes the assembly to load.

assemblySecurity
Evidence

Evidence for loading the assembly.

Returns

The loaded assembly.

Remarks

See the AppDomain.Load(AssemblyName, Evidence) method overload.

Applies to

Load(AssemblyName)

Provides COM objects with version-independent access to the Load(AssemblyName) method overload.

public:
 System::Reflection::Assembly ^ Load(System::Reflection::AssemblyName ^ assemblyRef);
public System.Reflection.Assembly Load (System.Reflection.AssemblyName assemblyRef);
abstract member Load : System.Reflection.AssemblyName -> System.Reflection.Assembly
Public Function Load (assemblyRef As AssemblyName) As Assembly

Parameters

assemblyRef
AssemblyName

An object that describes the assembly to load.

Returns

The loaded assembly.

Remarks

See the AppDomain.Load(AssemblyName) method overload.

Applies to

Load(Byte[])

Provides COM objects with version-independent access to the Load(Byte[]) method overload.

public:
 System::Reflection::Assembly ^ Load(cli::array <System::Byte> ^ rawAssembly);
public System.Reflection.Assembly Load (byte[] rawAssembly);
abstract member Load : byte[] -> System.Reflection.Assembly
Public Function Load (rawAssembly As Byte()) As Assembly

Parameters

rawAssembly
Byte[]

An array of type byte that is a COFF-based image containing an emitted assembly.

Returns

The loaded assembly.

Remarks

See the AppDomain.Load(Byte[]) method overload.

Applies to

Load(String)

Provides COM objects with version-independent access to the Load(String) method overload.

public:
 System::Reflection::Assembly ^ Load(System::String ^ assemblyString);
public System.Reflection.Assembly Load (string assemblyString);
abstract member Load : string -> System.Reflection.Assembly
Public Function Load (assemblyString As String) As Assembly

Parameters

assemblyString
String

The display name of the assembly. See FullName.

Returns

The loaded assembly.

Remarks

See the AppDomain.Load(String) method overload.

Applies to