Autofac .NET Inversion of Control Container
BeginLifetimeScope Method (tag)
NamespacesAutofacILifetimeScopeBeginLifetimeScope(Object)
Begin a new nested scope. Component instances created via the new scope will be disposed along with it.
Declaration Syntax
C#Visual BasicVisual C++
ILifetimeScope BeginLifetimeScope(
	Object tag
)
Function BeginLifetimeScope ( _
	tag As Object _
) As ILifetimeScope
ILifetimeScope^ BeginLifetimeScope(
	Object^ tag
)
Parameters
tag (Object)
The tag applied to the ILifetimeScope.
Return Value
A new lifetime scope.

Assembly: Autofac (Module: Autofac) Version: 2.1.13.813 (2.1.13.813)