Intersoft ClientUI Documentation
WithLifetimeManager Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IRegistration Interface : WithLifetimeManager Method






manager
The ILifetimeManager to use.
Sets the lifetime manager to be used by this Registration.

Syntax

Visual Basic (Declaration) 
Function WithLifetimeManager( _
   ByVal manager As ILifetimeManager _
) As IRegistration
Visual Basic (Usage)Copy Code
Dim instance As IRegistration
Dim manager As ILifetimeManager
Dim value As IRegistration
 
value = instance.WithLifetimeManager(manager)
C# 
IRegistration WithLifetimeManager( 
   ILifetimeManager manager
)
Delphi 
function WithLifetimeManager( 
    manager: ILifetimeManager
): IRegistration; 
JScript 
function WithLifetimeManager( 
   manager : ILifetimeManager
) : IRegistration;
Managed Extensions for C++ 
IRegistration* WithLifetimeManager( 
   ILifetimeManager* manager
) 
C++/CLI 
IRegistration^ WithLifetimeManager( 
   ILifetimeManager^ manager
) 

Parameters

manager
The ILifetimeManager to use.

Return Value

'this', or the Registration.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.