AssemblyLoadContext.EnterContextualReflection Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Name | Description |
|---|---|
| EnterContextualReflection() |
Nastaví CurrentContextualReflectionContext na |
| EnterContextualReflection(Assembly) |
Nastaví CurrentContextualReflectionContext sestavení AssemblyLoadContext , které sestavení načetlo. |
EnterContextualReflection()
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
Nastaví CurrentContextualReflectionContext na thisAssemblyLoadContext.
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
Návraty
Objekt pro obnovení předchozí hodnoty CurrentContextualReflectionContext. Má být použit jako blok IDisposableusing .
Poznámky
Další informace najdete v dokumentu návrhu AssemblyLoadContext.CurrentContextualReflectionContext v .NET Core.
Platí pro
EnterContextualReflection(Assembly)
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
- Zdroj:
- AssemblyLoadContext.cs
Nastaví CurrentContextualReflectionContext sestavení AssemblyLoadContext , které sestavení načetlo.
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
Parametry
- activating
- Assembly
Sestavení, které se používá k určení požadované AssemblyLoadContext instance.
Návraty
Objekt pro obnovení předchozí hodnoty CurrentContextualReflectionContext. Má být použit jako blok IDisposableusing .
Poznámky
Další informace najdete v dokumentu návrhu AssemblyLoadContext.CurrentContextualReflectionContext v .NET Core.