AssemblyLoadContext.ContextualReflectionScope AssemblyLoadContext.ContextualReflectionScope AssemblyLoadContext.ContextualReflectionScope AssemblyLoadContext.ContextualReflectionScope Struct

定義

提供專供 EnterContextualReflection() 使用的傳回型別。Provides a return type used exclusively for EnterContextualReflection(). 原定在 using 區塊中作為 IDisposable 使用。It is intended to be used as an IDisposable in a 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
繼承
AssemblyLoadContext.ContextualReflectionScopeAssemblyLoadContext.ContextualReflectionScopeAssemblyLoadContext.ContextualReflectionScopeAssemblyLoadContext.ContextualReflectionScope
實作

方法

Dispose() Dispose() Dispose() Dispose()

CurrentContextualReflectionContext 設定為傳回此執行個體之 EnterContextualReflection() 呼叫前面的值。Sets CurrentContextualReflectionContext to the value preceding the call to EnterContextualReflection() which returned this instance.

適用於