TaskLoggingHelper.InitializeLifetimeService Method

Definition

InitializeLifetimeService is called when the remote object is activated. This method will determine how long the lifetime for the object will be. Thread safe. However, InitializeLifetimeService and MarkAsInactive should only be called in that order, together or not at all, and no more than once.

public override object InitializeLifetimeService ();

Returns

The lease object to control this object's lifetime.

Applies to