AsyncServiceScope(IServiceScope) Constructor

Definición

Inicializa una nueva instancia del struct AsyncServiceScope. Encapsula una instancia 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

La instancia de IServiceScope que se va a encapsular.

Se aplica a