AssemblyLoadContext.EnterContextualReflection Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| EnterContextualReflection() |
Legt auf CurrentContextualReflectionContext |
| EnterContextualReflection(Assembly) |
Legt den Wert CurrentContextualReflectionContext fest, der AssemblyLoadContext die Assembly geladen hat. |
EnterContextualReflection()
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
Legt auf CurrentContextualReflectionContextthisAssemblyLoadContext.
public:
System::Runtime::Loader::AssemblyLoadContext::ContextualReflectionScope EnterContextualReflection();
public System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection();
member this.EnterContextualReflection : unit -> System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope
Public Function EnterContextualReflection () As AssemblyLoadContext.ContextualReflectionScope
Gibt zurück
Ein Objekt zum Wiederherstellen des vorherigen Werts von CurrentContextualReflectionContext. Sie soll als IDisposable in einem using Block verwendet werden.
Hinweise
Weitere Informationen finden Sie unter AssemblyLoadContext.CurrentContextualReflectionContext design doc in .NET Core.
Gilt für:
EnterContextualReflection(Assembly)
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
- Quelle:
- AssemblyLoadContext.cs
Legt den Wert CurrentContextualReflectionContext fest, der AssemblyLoadContext die Assembly geladen hat.
public:
static System::Runtime::Loader::AssemblyLoadContext::ContextualReflectionScope EnterContextualReflection(System::Reflection::Assembly ^ activating);
public static System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection(System.Reflection.Assembly? activating);
static member EnterContextualReflection : System.Reflection.Assembly -> System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope
Public Shared Function EnterContextualReflection (activating As Assembly) As AssemblyLoadContext.ContextualReflectionScope
Parameter
- activating
- Assembly
Die Assembly, die verwendet wird, um die angeforderte AssemblyLoadContext Instanz zu bestimmen.
Gibt zurück
Ein Objekt zum Wiederherstellen des vorherigen Werts von CurrentContextualReflectionContext. Sie soll als IDisposable in einem using Block verwendet werden.
Hinweise
Weitere Informationen finden Sie unter AssemblyLoadContext.CurrentContextualReflectionContext design doc in .NET Core.