Zdieľať cez


AsyncServiceScope(IServiceScope) Constructor

Definition

Initializes a new instance of the AsyncServiceScope struct. Wraps an instance of 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)

Parameters

serviceScope
IServiceScope

The IServiceScope instance to wrap.

Applies to