Export (0) Print
Expand All

LeaseState Enumeration

Indicates the possible lease states of a lifetime lease.

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft