Share via


AsyncServiceScope(IServiceScope) Costruttore

Definizione

Inizializza una nuova istanza dell'elemento struct AsyncServiceScope. Esegue il wrapping di un'istanza di 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)

Parametri

serviceScope
IServiceScope

Istanza di IServiceScope di cui eseguire il wrapping.

Si applica a