LeaseState Enumeration

Indicates the possible lease states of a lifetime lease.

Namespace: System.Runtime.Remoting.Lifetime
Assembly: mscorlib (in mscorlib.dll)

public enum LeaseState
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum LeaseState
public enum LeaseState

 Member nameDescription
ActiveThe lease is active and has not expired. 
ExpiredThe lease has expired and cannot be renewed. 
InitialThe lease has been created, but is not yet active. 
NullThe lease is not initialized. 
RenewingThe lease has expired and is seeking sponsorship. 

The CurrentState property returns the lease status for a lease.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0