Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

_AppDomain.InitializeLifetimeService Method

Gives the AppDomain an infinite lifetime by preventing a lease from being created.

[Visual Basic]
Function InitializeLifetimeService() As Object
[C#]
object InitializeLifetimeService();
[C++]
Object* InitializeLifetimeService();
[JScript]
function InitializeLifetimeService() : Object;

Return Value

Always a null reference (Nothing in Visual Basic).

Requirements

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

See Also

_AppDomain Interface | _AppDomain Members | System Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft