AssemblyLoadContext.ContextualReflectionScope Yapı

Tanım

yalnızca için EnterContextualReflection()kullanılan bir dönüş türü sağlar. Bir blokta IDisposable olarak using 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 genel olması gerekir.

Yöntemler

Name Description
Dispose()

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

Şunlara uygulanır