ContractBase.Renewal(ILease) Metod

Definition

Begär att en sponsrande klient förnyar lånet för det angivna objektet.

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

Parametrar

lease
ILease

Livslängdslåneobjektet som används av tjänsten för fjärrkommunikationslivslängd.

Returer

Det förnyade lånet.

Implementeringar

Attribut

Undantag

lease är null.

Gäller för