AssemblyLoadContext.ContextualReflectionScope 構造体
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
EnterContextualReflection()専用に使用される戻り値の型を提供します。 これは、IDisposable ブロック内の using として使用されることを意図しています。
public: value class AssemblyLoadContext::ContextualReflectionScope : IDisposable
public struct AssemblyLoadContext.ContextualReflectionScope : IDisposable
type AssemblyLoadContext.ContextualReflectionScope = struct
interface IDisposable
Public Structure AssemblyLoadContext.ContextualReflectionScope
Implements IDisposable
- 継承
- 実装
注釈
これは、 EnterContextualReflection API の実装の詳細です。 ヒープ割り当てを回避するための構造体です。 ボックス化を回避するには、パブリックである必要があります。
メソッド
| 名前 | 説明 |
|---|---|
| Dispose() |
CurrentContextualReflectionContext、このインスタンスを返したEnterContextualReflection()の呼び出しの前の値に設定します。 |