ILease.CurrentState 属性

定义

获取租约的当前 LeaseState

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

属性值

LeaseState

租约的当前 LeaseState

属性

例外

直接调用方通过引用接口进行调用,且没有基础结构权限。

适用于

另请参阅