Scope Factory Interface
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A factory for creating instances of IServiceScope, which is used to create services within a scope.
public interface class IServiceScopeFactory
public interface IServiceScopeFactory
type IServiceScopeFactory = interface
Public Interface IServiceScopeFactory
Create an IServiceScope which contains an IServiceProvider used to resolve dependencies from a newly created scope.
Creates a new AsyncServiceScope that can be used to resolve scoped services.