AssemblyLoadContext.CurrentContextualReflectionContext 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過最近一次呼叫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 中的