Share via


ContractBase.Renewal(ILease) 方法

定義

要求贊助的用戶端更新指定物件的使用期。

public:
 virtual TimeSpan Renewal(System::Runtime::Remoting::Lifetime::ILease ^ lease);
[System.Security.SecurityCritical]
public TimeSpan Renewal (System.Runtime.Remoting.Lifetime.ILease lease);
[<System.Security.SecurityCritical>]
abstract member Renewal : System.Runtime.Remoting.Lifetime.ILease -> TimeSpan
override this.Renewal : System.Runtime.Remoting.Lifetime.ILease -> TimeSpan
Public Function Renewal (lease As ILease) As TimeSpan

參數

lease
ILease

遠端存留期 (Lifetime) 服務所使用的存留期使用期 (Lease) 物件。

傳回

已更新的使用期。

實作

屬性

例外狀況

leasenull

適用於