Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReflectionOnly Property

Assembly.ReflectionOnly Property

Gets a Boolean value indicating whether this assembly was loaded into the reflection-only context.

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

[ComVisibleAttribute(false)]
public virtual bool ReflectionOnly { get; }

Property Value

Type: System.Boolean
true if the assembly was loaded into the reflection-only context, rather than the execution context; otherwise, false.

If an assembly has been loaded into the reflection-only context, using the ReflectionOnlyLoad method, you cannot execute code in the assembly. To execute code, the assembly must be loaded into the execution context.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft