AssemblyLoadContext.ContextualReflectionScope Struct-datatyp
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Tillhandahåller en returtyp som endast används för EnterContextualReflection(). Den är avsedd att användas som en IDisposable i ett using block.
public: value class AssemblyLoadContext::ContextualReflectionScope : IDisposable
public struct AssemblyLoadContext.ContextualReflectionScope : IDisposable
type AssemblyLoadContext.ContextualReflectionScope = struct
interface IDisposable
Public Structure AssemblyLoadContext.ContextualReflectionScope
Implements IDisposable
- Arv
- Implementeringar
Kommentarer
Det här är en implementeringsinformation om API:erna EnterContextualReflection . Det är en struct för att undvika heapallokering. Det måste vara offentligt för att undvika boxning.
Metoder
| Name | Description |
|---|---|
| Dispose() |
Anger CurrentContextualReflectionContext värdet före anropet till EnterContextualReflection() den som returnerade den här instansen. |