AssemblyLoadContext.CurrentContextualReflectionContext Eigenschap

Definitie

Hiermee haalt u de AssemblyLoadContext set op door de meest recente aanroep naar 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

Waarde van eigenschap

De AssemblyLoadContext set door de meest recente aanroep naar EnterContextualReflection(). Deze waarde kan zijn null. De waarde wordt opgeslagen in een AsyncLocal<T>, dus de waarde is uniek per asynchrone context.

Opmerkingen

Zie AssemblyLoadContext.CurrentContextualReflectionContext-ontwerpdocument in .NET Core voor meer informatie.

Van toepassing op