AsyncServiceScope(IServiceScope) Constructeur

Définition

Initialise une nouvelle instance du struct AsyncServiceScope. Inclut dans un wrapper une instance de 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)

Paramètres

serviceScope
IServiceScope

Instance de IServiceScope à inclure dans un wrapper.

S’applique à