AssemblyLoadContext.EnterContextualReflection Methode

Definitie

Overloads

EnterContextualReflection()

Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
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)

Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs
Bron:
AssemblyLoadContext.cs

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.

Van toepassing op