AssemblyLoadContext.EnterContextualReflection メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
EnterContextualReflection()
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の前の値を復元するオブジェクト。 これは、IDisposable ブロック内の using として使用されることを意図しています。
注釈
詳細については、.NET Core の「
適用対象
EnterContextualReflection(Assembly)
アセンブリを読み込んだAssemblyLoadContextにCurrentContextualReflectionContextを設定します。
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の前の値を復元するオブジェクト。 これは、IDisposable ブロック内の using として使用されることを意図しています。
注釈
詳細については、.NET Core の「