Obtains a lifetime service object to control the lifetime policy for this instance.
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.
LogWriter Class | NAnt.Core Namespace