AssemblyLoadContext.CurrentContextualReflectionContext Vlastnost

Definice

AssemblyLoadContext Získá nastaveno posledním voláním 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

Hodnota vlastnosti

Nastaveno AssemblyLoadContext posledním voláním EnterContextualReflection(). Tato hodnota může být null. Hodnota je uložena v objektu AsyncLocal<T>, takže hodnota je jedinečná pro asynchronní kontext.

Poznámky

Další informace najdete v dokumentu návrhu AssemblyLoadContext.CurrentContextualReflectionContext v .NET Core.

Platí pro