2.2.6 LeaseState

The LeaseState enumeration provides state information about a Lease Object. The size of this enumeration is an Int32.

 namespace System.Runtime.Remoting.Lifetime
 {
   enum LeaseState : Int32
   {
      Null     = 0,
      Initial  = 1,
      Active   = 2,
      Renewing = 3,
      Expired  = 4
   }
 }
  

Null:  The Lease Object is in an error state.

Initial: This is the initial state when the Lease Object is created.

Active: The Lease Object is actively maintaining the lifetime of Server Object.

Renewing:  The TTL has expired and is in the process of renewing.

Expired:  The Lease Object has expired.