AsyncServiceScope(IServiceScope) Konstruktor

Definition

Initierar en ny instans av structen AsyncServiceScope . Omsluter en instans av 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)

Parametrar

serviceScope
IServiceScope

Den IServiceScope instans som ska omslutas.

Gäller för