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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0