AssemblyLoadContext.EnterContextualReflection Método

Definição

Sobrecargas

EnterContextualReflection()

Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
public:
 System::Runtime::Loader::AssemblyLoadContext::ContextualReflectionScope EnterContextualReflection();
public System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection();
member this.EnterContextualReflection : unit -> System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope
Public Function EnterContextualReflection () As AssemblyLoadContext.ContextualReflectionScope

Devoluções

Um objeto para restaurar o valor anterior de CurrentContextualReflectionContext. Destina-se a ser usado como IDisposable um bloco interno using .

Observações

Para mais informações, consulte AssemblyLoadContext.CurrentContextualReflectionContext document de design em .NET Core.

Aplica-se a

EnterContextualReflection(Assembly)

Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs
Origem:
AssemblyLoadContext.cs

Define CurrentContextualReflectionContext para o AssemblyLoadContext que carregou a montagem.

public:
 static System::Runtime::Loader::AssemblyLoadContext::ContextualReflectionScope EnterContextualReflection(System::Reflection::Assembly ^ activating);
public static System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection(System.Reflection.Assembly? activating);
static member EnterContextualReflection : System.Reflection.Assembly -> System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope
Public Shared Function EnterContextualReflection (activating As Assembly) As AssemblyLoadContext.ContextualReflectionScope

Parâmetros

activating
Assembly

A montagem usada para determinar a instância solicitada AssemblyLoadContext .

Devoluções

Um objeto para restaurar o valor anterior de CurrentContextualReflectionContext. Destina-se a ser usado como IDisposable um bloco interno using .

Observações

Para mais informações, consulte AssemblyLoadContext.CurrentContextualReflectionContext document de design em .NET Core.

Aplica-se a