AssemblyLoadContext.EnterContextualReflection Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| EnterContextualReflection() |
olarak |
| EnterContextualReflection(Assembly) |
Derlemeyi AssemblyLoadContext yükleyen öğesine ayarlarCurrentContextualReflectionContext. |
EnterContextualReflection()
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
olarak thisAssemblyLoadContextayarlarCurrentContextualReflectionContext.
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
Döndürülenler
önceki değerini CurrentContextualReflectionContextgeri yüklemek için bir nesne. Bir blokta IDisposable olarak using kullanılması amaçlanmıştır.
Açıklamalar
Daha fazla bilgi için .NET Core içindeki
Şunlara uygulanır
EnterContextualReflection(Assembly)
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
- Kaynak:
- AssemblyLoadContext.cs
Derlemeyi AssemblyLoadContext yükleyen öğesine ayarlarCurrentContextualReflectionContext.
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
Parametreler
- activating
- Assembly
İstenen AssemblyLoadContext örneği belirlemek için kullanılan derleme.
Döndürülenler
önceki değerini CurrentContextualReflectionContextgeri yüklemek için bir nesne. Bir blokta IDisposable olarak using kullanılması amaçlanmıştır.
Açıklamalar
Daha fazla bilgi için .NET Core içindeki