AssemblyLoadContext.EnterContextualReflection メソッド

定義

オーバーロード

EnterContextualReflection()

ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs
ソース:
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の前の値を復元するオブジェクト。 これは、IDisposable ブロック内の using として使用されることを意図しています。

注釈

詳細については、.NET Core の「AssemblyLoadContext.CurrentContextualReflectionContext design doc」を参照してください。

適用対象

EnterContextualReflection(Assembly)

ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs
ソース:
AssemblyLoadContext.cs

アセンブリを読み込んだAssemblyLoadContextCurrentContextualReflectionContextを設定します。

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 の「AssemblyLoadContext.CurrentContextualReflectionContext design doc」を参照してください。

適用対象