AsyncServiceScope(IServiceScope) Конструктор

Определение

Инициализирует новый экземпляр AsyncServiceScope структуры. Оболочка экземпляра IServiceScope.

public:
 AsyncServiceScope(Microsoft::Extensions::DependencyInjection::IServiceScope ^ serviceScope);
public AsyncServiceScope(Microsoft.Extensions.DependencyInjection.IServiceScope serviceScope);
new Microsoft.Extensions.DependencyInjection.AsyncServiceScope : Microsoft.Extensions.DependencyInjection.IServiceScope -> Microsoft.Extensions.DependencyInjection.AsyncServiceScope
Public Sub New (serviceScope As IServiceScope)

Параметры

serviceScope
IServiceScope

Экземпляр IServiceScope , который нужно упаковать.

Применяется к