ObjectHandle.InitializeLifetimeService Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes the lifetime lease of the wrapped object.

Namespace:   System.Runtime.Remoting
Assembly:  mscorlib (in mscorlib.dll)

public override object InitializeLifetimeService()

Return Value

Type: System.Object

An initialized ILease that allows you to control the lifetime of the wrapped object.

.NET Framework
Available since 1.1
Return to top