AssemblyLoadContext.CurrentContextualReflectionContext Proprietà

Definizione

Ottiene l'elemento AssemblyLoadContext impostato dalla chiamata più recente a 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

Valore della proprietà

Oggetto AssemblyLoadContext impostato dalla chiamata più recente a EnterContextualReflection(). Il valore può essere null. Il valore viene archiviato in un oggetto AsyncLocal<T>, quindi il valore è univoco per ogni contesto asincrono.

Commenti

Per altre informazioni, vedere La documentazione sulla progettazione assemblyLoadContext.CurrentContextualReflectionContext in .NET Core.

Si applica a