Click or drag to resize

ContainerProviderContainerBeginLifetimeScope Method (Object)

Begin a new nested scope. Component instances created via the new scope will be disposed along with it.

Namespace:  Autofac.Integration.Web
Assembly:  Autofac.Integration.Web (in Autofac.Integration.Web.dll) Version: 6.0.0+0b24e3a20aaeba340141e7205a9b7643b9d6cc54
Syntax
public ILifetimeScope BeginLifetimeScope(
	Object tag
)

Parameters

tag
Type: SystemObject
The tag applied to the ILifetimeScope.

Return Value

Type: ILifetimeScope
A new lifetime scope.

Implements

ILifetimeScopeBeginLifetimeScope(Object)
See Also