AssemblyLoadContext.EnterContextualReflection 메서드

정의

오버로드

EnterContextualReflection()

CurrentContextualReflectionContextthisAssemblyLoadContext로 설정합니다.Sets CurrentContextualReflectionContext to thisAssemblyLoadContext.

EnterContextualReflection(Assembly)

CurrentContextualReflectionContext를 어셈블리를 로드한 AssemblyLoadContext로 설정합니다.Sets CurrentContextualReflectionContext to the AssemblyLoadContext which loaded the assembly.

EnterContextualReflection()

CurrentContextualReflectionContextthisAssemblyLoadContext로 설정합니다.Sets CurrentContextualReflectionContext to thisAssemblyLoadContext.

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

반환

CurrentContextualReflectionContext의 이전 값을 복원하는 개체입니다.An object to restore the previous value of CurrentContextualReflectionContext. using 블록에서 IDisposable로 사용하도록 되어 있습니다.It is intended to be used as an IDisposable in a using block.

설명

자세한 내용은 .Net Core의 CurrentContextualReflectionContext 디자인 문서를 참조 하세요.For more information, see AssemblyLoadContext.CurrentContextualReflectionContext design doc in .NET Core.

EnterContextualReflection(Assembly)

CurrentContextualReflectionContext를 어셈블리를 로드한 AssemblyLoadContext로 설정합니다.Sets CurrentContextualReflectionContext to the AssemblyLoadContext which loaded the assembly.

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

매개 변수

activating
Assembly

요청된 AssemblyLoadContext 인스턴스를 확인하는 데 사용되는 어셈블리입니다.The assembly that is used to determine the requested AssemblyLoadContext instance.

반환

CurrentContextualReflectionContext의 이전 값을 복원하는 개체입니다.An object to restore the previous value of CurrentContextualReflectionContext. using 블록에서 IDisposable로 사용하도록 되어 있습니다.It is intended to be used as an IDisposable in a using block.

설명

자세한 내용은 .Net Core의 CurrentContextualReflectionContext 디자인 문서를 참조 하세요.For more information, see AssemblyLoadContext.CurrentContextualReflectionContext design doc in .NET Core.

적용 대상