NAnt SDK Documentation - v0.92 |

# ReferencesResolver.InitializeLifetimeService Method

Obtains a lifetime service object to control the lifetime policy for this instance.

[Visual Basic]
Overrides Public Function InitializeLifetimeService() As Object
[C#]
public override object InitializeLifetimeService();

#### Return Value

An object of type ILease used to control the lifetime policy for this instance. This is the current lifetime service object for this instance if one exists; otherwise, a new lifetime service object initialized with a lease that will never time out.

#### See Also

ReferencesResolver Class | NAnt.VSNet Namespace