System.Reflection.Emit.AssemblyBuilderAccess Enumeration

Defines the access modes for a dynamic assembly.

Syntax

[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum AssemblyBuilderAccess

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
ReflectionOnly

The dynamic assembly is loaded into the reflection-only context, and cannot be executed.

Run

The dynamic assembly can be executed, but not saved.

RunAndCollect

The dynamic assembly can be unloaded and its memory reclaimed, subject to the restrictions described in Collectible Dynamic Assemblies.

RunAndSave

The dynamic assembly can be executed and saved.

Save

The dynamic assembly can be saved, but not executed.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0