AssemblyLoadContext.CurrentContextualReflectionContext Propriedade

Definição

Obtém o AssemblyLoadContext definido pela chamada mais recente para 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

Valor da propriedade

AssemblyLoadContext

O AssemblyLoadContext conjunto pela chamada mais recente para EnterContextualReflection(). Este valor pode ser null. O valor é armazenado em um AsyncLocal<T>, portanto, o valor é exclusivo por contexto assíncrono.

Comentários

Para obter mais informações, consulte o documento de design AssemblyLoadContext.CurrentContextualReflectionContext no .NET Core.

Aplica-se a