AsyncServiceScope(IServiceScope) Konstruktor

Definice

Inicializuje novou instanci AsyncServiceScope struktury. Zabalí instanci .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)

Parametry

serviceScope
IServiceScope

Instance IServiceScope , která se má zabalit.

Platí pro