AssemblyLoadContext.CurrentContextualReflectionContext Właściwość

Definicja

AssemblyLoadContext Pobiera zestaw przy użyciu ostatniego wywołania metody EnterContextualReflection().

public:
 static property System::Runtime::Loader::AssemblyLoadContext ^ CurrentContextualReflectionContext { System::Runtime::Loader::AssemblyLoadContext ^ get(); };
public static System.Runtime.Loader.AssemblyLoadContext? CurrentContextualReflectionContext { get; }
member this.CurrentContextualReflectionContext : System.Runtime.Loader.AssemblyLoadContext
Public Shared ReadOnly Property CurrentContextualReflectionContext As AssemblyLoadContext

Wartość właściwości

AssemblyLoadContext

Zestaw AssemblyLoadContext przez najnowsze wywołanie metody .EnterContextualReflection() Ta wartość może mieć wartość null. Wartość jest przechowywana w AsyncLocal<T>obiekcie , więc wartość jest unikatowa dla kontekstu asynchronicznego.

Uwagi

Aby uzyskać więcej informacji, zobacz AssemblyLoadContext.CurrentContextualReflectionContextContext design doc in .NET Core (Dokument projektu AssemblyLoadContext.CurrentContextualReflectionContext) w programie .NET Core.

Dotyczy