AssemblyLoadContext.CurrentContextualReflectionContext Properti

Definisi

Mendapatkan yang AssemblyLoadContext ditetapkan oleh panggilan terbaru ke 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

Nilai Properti

Diatur AssemblyLoadContext oleh panggilan terbaru ke EnterContextualReflection(). Nilai ini bisa berupa null. Nilai disimpan dalam AsyncLocal<T>, sehingga nilainya unik per konteks asinkron.

Keterangan

Untuk informasi selengkapnya, lihat dokumen desain AssemblyLoadContext.CurrentContextualReflectionContext di .NET Core.

Berlaku untuk