AssemblyLoadContext.CurrentContextualReflectionContext Propiedad

Definición

Obtiene el elemento AssemblyLoadContext establecido por la llamada más reciente 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

Valor de propiedad

Establecido AssemblyLoadContext por la llamada más reciente a EnterContextualReflection(). Este valor puede ser null. El valor se almacena en , AsyncLocal<T>por lo que el valor es único por contexto asincrónico.

Comentarios

Para obtener más información, consulte el documento de diseño AssemblyLoadContext.CurrentContextReflectionContext en .NET Core.

Se aplica a