ILease.CurrentState 属性

定义

获取租约的当前 LeaseStateGets 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; }
[get: System.Security.SecurityCritical]
public System.Runtime.Remoting.Lifetime.LeaseState CurrentState { 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

属性值

LeaseState

租约的当前 LeaseStateThe current LeaseState of the lease.

属性

例外

直接调用方通过引用接口进行调用,且没有基础结构权限。The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

适用于

另请参阅