Share via


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

屬性

例外狀況

立即呼叫者透過對介面的參考進行呼叫,且沒有基礎結構權限。

適用於

另請參閱