_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 (byte[] rawAssembly, byte[] rawSymbolStore, System.Security.Policy.Evidence securityEvidence);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Load(String, Evidence)

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

public System.Reflection.Assembly Load (string assemblyString, System.Security.Policy.Evidence assemblySecurity);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Load(Byte[], Byte[])

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

public System.Reflection.Assembly Load (byte[] rawAssembly, byte[] rawSymbolStore);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Load(AssemblyName)

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

public System.Reflection.Assembly Load (System.Reflection.AssemblyName assemblyRef);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Load(Byte[])

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

public System.Reflection.Assembly Load (byte[] rawAssembly);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Load(String)

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

public System.Reflection.Assembly Load (string assemblyString);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1