語言

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 。

屬性

例外狀況

直接呼叫者透過介面的參考來呼叫,且沒有基礎設施權限。

適用於

另請參閱