ILease.CurrentState 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
他會拿到租約的電流 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 。
- 屬性
例外狀況
直接呼叫者透過介面的參考來呼叫,且沒有基礎設施權限。