AsyncServiceScope 구조체

정의

IServiceScope 구현하는 구현입니다 IAsyncDisposable.

public value class AsyncServiceScope : IAsyncDisposable, IDisposable, Microsoft::Extensions::DependencyInjection::IServiceScope
public readonly struct AsyncServiceScope : IAsyncDisposable, IDisposable, Microsoft.Extensions.DependencyInjection.IServiceScope
type AsyncServiceScope = struct
    interface IServiceScope
    interface IDisposable
    interface IAsyncDisposable
Public Structure AsyncServiceScope
Implements IAsyncDisposable, IDisposable, IServiceScope
상속
AsyncServiceScope
구현

생성자

AsyncServiceScope(IServiceScope)

AsyncServiceScope 구조체의 새 인스턴스를 초기화합니다. IServiceScope의 인스턴스를 래핑합니다.

속성

ServiceProvider

범위에서 종속성을 확인하는 데 사용되는 IServiceProvider입니다.

메서드

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

DisposeAsync()

비동기적으로 관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

적용 대상