Assembly.ReflectionOnly Eigenschaft
Definition
public:
virtual property bool ReflectionOnly { bool get(); };
[System.Runtime.InteropServices.ComVisible(false)]
public virtual bool ReflectionOnly { get; }
member this.ReflectionOnly : bool
Public Overridable ReadOnly Property ReflectionOnly As Boolean
Eigenschaftswert
true
, wenn die Assembly in den ReflectionOnly-Kontext und nicht in den Ausführungskontext geladen wurde, andernfalls false
.true
if the assembly was loaded into the reflection-only context, rather than the execution context; otherwise, false
.
- Attribute
Hinweise
Wenn eine Assembly mit der ReflectionOnlyLoad-Methode in den reflektionsbasierten Kontext geladen wurde, können Sie keinen Code in der Assembly ausführen.If an assembly has been loaded into the reflection-only context, using the ReflectionOnlyLoad method, you cannot execute code in the assembly. Zum Ausführen von Code muss die Assembly in den Ausführungs Kontext geladen werden.To execute code, the assembly must be loaded into the execution context.