AssemblyLoadContext.CurrentContextualReflectionContext Właściwość

Definicja

AssemblyLoadContext Pobiera zestaw przez najnowsze wywołanie metody EnterContextualReflection().

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

Wartość właściwości

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

Uwagi

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

Dotyczy