Aracılığıyla paylaş


AssemblyLoadContext.CurrentContextualReflectionContext Özellik

Tanım

öğesinin AssemblyLoadContext en son çağrısı EnterContextualReflection()tarafından ayarlanan değerini alır.

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

Özellik Değeri

en AssemblyLoadContext son çağrısı EnterContextualReflection()tarafından ayarlanan . Bu değer olabilir null. değer bir AsyncLocal<T>içinde depolanır, bu nedenle değer zaman uyumsuz bağlam başına benzersizdir.

Açıklamalar

Daha fazla bilgi için bkz. .NET Core'da AssemblyLoadContext.CurrentContextualReflectionContext tasarım belgesi.

Şunlara uygulanır