Begin a new nested scope. Component instances created via the new scope
will be disposed along with it.
| C# | Visual Basic | Visual C++ |
ILifetimeScope BeginLifetimeScope( Object tag )
Function BeginLifetimeScope ( _ tag As Object _ ) As ILifetimeScope
ILifetimeScope^ BeginLifetimeScope( Object^ tag )
- tag (Object)
- The tag applied to the ILifetimeScope.
A new lifetime scope.