AssemblyLoadContext.ContextualReflectionScope Yapı

Tanım

için özel olarak EnterContextualReflection()kullanılan bir dönüş türü sağlar. Bir blokta using olarak IDisposable kullanılması amaçlanmıştır.

public: value class AssemblyLoadContext::ContextualReflectionScope : IDisposable
public struct AssemblyLoadContext.ContextualReflectionScope : IDisposable
type AssemblyLoadContext.ContextualReflectionScope = struct
    interface IDisposable
Public Structure AssemblyLoadContext.ContextualReflectionScope
Implements IDisposable
Devralma
AssemblyLoadContext.ContextualReflectionScope
Uygulamalar

Açıklamalar

Bu, API'lerin uygulama ayrıntılarıdır EnterContextualReflection . Yığın ayırmayı önlemek için bir yapıdır. Bokstan kaçınmak için herkese açık olması gerekir.

Yöntemler

Dispose()

Bu örneği döndüren çağrıdan önceki değere EnterContextualReflection() ayarlarCurrentContextualReflectionContext.

Şunlara uygulanır