Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LeaseState Enumeration

Indicates the possible lease states of a lifetime lease.

[Visual Basic]
<Serializable>
Public Enum LeaseState
[C#]
[Serializable]
public enum LeaseState
[C++]
[Serializable]
__value public enum LeaseState
[JScript]
public
   Serializable
enum LeaseState

Remarks

The CurrentState property returns the lease status for a lease.

Members

Member name Description
Active The lease is active and has not expired.
Expired The lease has expired and cannot be renewed.
Initial The lease has been created, but is not yet active.
Null The lease is not initialized.
Renewing The lease has expired and is seeking sponsorship.

Requirements

Namespace: System.Runtime.Remoting.Lifetime

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Runtime.Remoting.Lifetime Namespace

Show:
© 2015 Microsoft