AssemblyLoadContext.CurrentContextualReflectionContext Propriété
Définition
Obtient le AssemblyLoadContext défini par le dernier appel à EnterContextualReflection().Gets the AssemblyLoadContext set by the most recent call to EnterContextualReflection().
public:
static property System::Runtime::Loader::AssemblyLoadContext ^ CurrentContextualReflectionContext { System::Runtime::Loader::AssemblyLoadContext ^ get(); };
public static System.Runtime.Loader.AssemblyLoadContext? CurrentContextualReflectionContext { get; }
member this.CurrentContextualReflectionContext : System.Runtime.Loader.AssemblyLoadContext
Public Shared ReadOnly Property CurrentContextualReflectionContext As AssemblyLoadContext
Valeur de propriété
AssemblyLoadContextDéfini par l’appel le plus récent à EnterContextualReflection() .The AssemblyLoadContext set by the most recent call to EnterContextualReflection(). Cette valeur peut être null
.This value can be null
. La valeur est stockée dans un AsyncLocal<T> , donc la valeur est unique par contexte asynchrone.The value is stored in an AsyncLocal<T>, so the value is unique per asynchronous context.
Remarques
Pour plus d’informations, consultez le document de conception AssemblyLoadContext. CurrentContextualReflectionContext dans .net Core.For more information, see AssemblyLoadContext.CurrentContextualReflectionContext design doc in .NET Core.