AssemblyLoadContext.CurrentContextualReflectionContext プロパティ

定義

EnterContextualReflection()の最新の呼び出しによって設定されたAssemblyLoadContextを取得します。

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

プロパティ値

EnterContextualReflection()の最新の呼び出しによって設定されたAssemblyLoadContext。 この値は、null の場合もあります。 値は AsyncLocal<T>に格納されるため、値は非同期コンテキストごとに一意です。

注釈

詳細については、.NET Core の「AssemblyLoadContext.CurrentContextualReflectionContext design doc」を参照してください。

適用対象