ILease.CurrentState Property

Definition

Gets the current LeaseState of the lease.

public:
 property System::Runtime::Remoting::Lifetime::LeaseState CurrentState { System::Runtime::Remoting::Lifetime::LeaseState get(); };
public System.Runtime.Remoting.Lifetime.LeaseState CurrentState { get; }
public System.Runtime.Remoting.Lifetime.LeaseState CurrentState { [System.Security.SecurityCritical] get; }
member this.CurrentState : System.Runtime.Remoting.Lifetime.LeaseState
[<get: System.Security.SecurityCritical>]
member this.CurrentState : System.Runtime.Remoting.Lifetime.LeaseState
Public ReadOnly Property CurrentState As LeaseState

Property Value

The current LeaseState of the lease.

Attributes

Exceptions

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Applies to

See also