System.Web.Compilation.ClientBuildManager.InitializeLifetimeService Method

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

Syntax

public override object InitializeLifetimeService ()

Returns

Always null.

Remarks

This method overrides the MarshalByRefObject.InitializeLifetimeService method in its base class. It always returns null and thereby prevents a lease from being created that would limit the application domain's lifetime.

Requirements

Namespace: System.Web.Compilation
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0