AssemblyLoadContext.EnterContextualReflection Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| EnterContextualReflection() |
Wordt ingesteld CurrentContextualReflectionContext op |
| EnterContextualReflection(Assembly) |
Hiermee stelt u CurrentContextualReflectionContext de AssemblyLoadContext assembly in die is geladen. |
EnterContextualReflection()
Wordt ingesteld CurrentContextualReflectionContext op 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
Retouren
Een object om de vorige waarde van CurrentContextualReflectionContext. Het is bedoeld om te worden gebruikt als een IDisposable in een using blok.
Opmerkingen
Zie AssemblyLoadContext.CurrentContextualReflectionContext-ontwerpdocument in .NET Core voor meer informatie.
Van toepassing op
EnterContextualReflection(Assembly)
Hiermee stelt u CurrentContextualReflectionContext de AssemblyLoadContext assembly in die is geladen.
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
Parameters
- activating
- Assembly
De assembly die wordt gebruikt om het aangevraagde AssemblyLoadContext exemplaar te bepalen.
Retouren
Een object om de vorige waarde van CurrentContextualReflectionContext. Het is bedoeld om te worden gebruikt als een IDisposable in een using blok.
Opmerkingen
Zie AssemblyLoadContext.CurrentContextualReflectionContext-ontwerpdocument in .NET Core voor meer informatie.