ILifetimeManagerTypeRegistry.CreateLifetimeManager Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new lifetime manager for a particular context.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As ILifetimeManagerTypeRegistry
Dim context As ActivationContext(Of T)
Dim returnValue As ILifetimeManager(Of T)
returnValue = instance.CreateLifetimeManager(context)
Syntax
'Declaration
Function CreateLifetimeManager(Of T) ( _
context As ActivationContext(Of T) _
) As ILifetimeManager(Of T)
ILifetimeManager<T> CreateLifetimeManager<T> (
ActivationContext<T> context
)
generic<typename T>
ILifetimeManager<T>^ CreateLifetimeManager (
ActivationContext<T>^ context
)
GenericParameters
- T
The type of object that the lifetime manager creates.
Parameters
- context
The activation context for the new component.
Return Value
The lifetime manager for a particular context.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ILifetimeManagerTypeRegistry Interface
ILifetimeManagerTypeRegistry Members
Microsoft.EnterpriseManagement Namespace