AssemblyLoadContext.EnterContextualReflection 메서드

정의

오버로드

EnterContextualReflection()

CurrentContextualReflectionContextthisAssemblyLoadContext로 설정합니다.

EnterContextualReflection(Assembly)

CurrentContextualReflectionContext를 어셈블리를 로드한 AssemblyLoadContext로 설정합니다.

EnterContextualReflection()

Source:
AssemblyLoadContext.cs
Source:
AssemblyLoadContext.cs
Source:
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

반환

CurrentContextualReflectionContext의 이전 값을 복원하는 개체입니다. using 블록에서 IDisposable로 사용하도록 되어 있습니다.

설명

자세한 내용은 .NET Core의 AssemblyLoadContext.CurrentContextualReflectionContext 디자인 문서를 참조하세요.

적용 대상

EnterContextualReflection(Assembly)

Source:
AssemblyLoadContext.cs
Source:
AssemblyLoadContext.cs
Source:
AssemblyLoadContext.cs

CurrentContextualReflectionContext를 어셈블리를 로드한 AssemblyLoadContext로 설정합니다.

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 인스턴스를 확인하는 데 사용되는 어셈블리입니다.

반환

CurrentContextualReflectionContext의 이전 값을 복원하는 개체입니다. using 블록에서 IDisposable로 사용하도록 되어 있습니다.

설명

자세한 내용은 .NET Core의 AssemblyLoadContext.CurrentContextualReflectionContext 디자인 문서를 참조하세요.

적용 대상