Compartilhar via


AsyncServiceScope(IServiceScope) Construtor

Definição

Inicializa uma nova instância do struct AsyncServiceScope. Encapsula uma instância 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)

Parâmetros

serviceScope
IServiceScope

A instância de IServiceScope a ser encapsulada.

Aplica-se a