AssemblyLoadContext.ContextualReflectionScope Struct

Definitie

Biedt een retourtype dat exclusief wordt gebruikt voor EnterContextualReflection(). Het is bedoeld om te worden gebruikt als een IDisposable in een using blok.

public: value class AssemblyLoadContext::ContextualReflectionScope : IDisposable
public struct AssemblyLoadContext.ContextualReflectionScope : IDisposable
type AssemblyLoadContext.ContextualReflectionScope = struct
    interface IDisposable
Public Structure AssemblyLoadContext.ContextualReflectionScope
Implements IDisposable
Overname
AssemblyLoadContext.ContextualReflectionScope
Implementeringen

Opmerkingen

Dit is een implementatiedetails van de EnterContextualReflection API's. Het is een struct, om heaptoewijzing te voorkomen. Het moet openbaar zijn om boksen te voorkomen.

Methoden

Name Description
Dispose()

Hiermee stelt u CurrentContextualReflectionContext de waarde in vóór de aanroep naar EnterContextualReflection() die deze instantie heeft geretourneerd.

Van toepassing op