ContractBase::Renewal Method (ILease^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Requests a sponsoring client to renew the lease for the specified object.
Assembly: System.AddIn (in System.AddIn.dll)
public: [SecurityCriticalAttribute] [SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::Infrastructure)] virtual TimeSpan Renewal( ILease^ lease ) sealed
Parameters
- lease
-
Type:
System.Runtime.Remoting.Lifetime::ILease^
The lifetime lease object that is used by the remoting lifetime service.
Implements
ISponsor::Renewal(ILease^)| Exception | Condition |
|---|---|
| ArgumentNullException | lease is null. |
LinkDemand
for full trust for the immediate caller. This member cannot be used by partially trusted code.
.NET Framework
Available since 3.5
Available since 3.5
Show: