Load Method (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Loads an assembly given the long form of its name.
Assembly: mscorlib (in mscorlib.dll)
is thrown if assemblyString specifies the full assembly name, and the first assembly that matches the simple name has a different version, culture, or public key token. The loader does not continue probing for other assemblies that match the simple name.
Whether certain permissions are granted or not granted to an assembly is based on evidence. The rules for assembly and security evidence merging are as follows:
When you use a Load method with no parameter, the assembly is loaded with the evidence that the loader supplies.
When you use a Load method with a Byte parameter and to load a COFF image, only the supplied evidence is used. Evidence of the calling assembly and evidence of the COFF image is ignored.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.