System.Runtime.Remoting.Lifetime.LeaseState Enumeration

Indicates the possible lease states of a lifetime lease.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum LeaseState

Remarks

The ILease.CurrentState property returns the lease status for a lease.

Members

Member NameDescription
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
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0