System.Runtime.Remoting.Lifetime.ClientSponsor.InitializeLifetimeService Method

Initializes a new instance of System.Runtime.Remoting.Lifetime.ClientSponsor, providing a lease for the current object.

Syntax

public override object InitializeLifetimeService ()

Returns

An System.Runtime.Remoting.Lifetime.ILease for the current object.

Remarks

Requirements

Namespace: System.Runtime.Remoting.Lifetime
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0