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 для упаковки.

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