Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISponsor.Renewal Method

Requests a sponsoring client to renew the lease for the specified object.

[Visual Basic]
Function Renewal( _
   ByVal lease As ILease _
) As TimeSpan
TimeSpan Renewal(
   ILease lease
TimeSpan Renewal(
   ILease* lease
function Renewal(
   lease : ILease
) : TimeSpan;


The lifetime lease of the object that requires lease renewal.

Return Value

The additional lease time for the specified object.


Exception Type Condition
SecurityException The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.


The Renewal method is called by the distributed garbage collector to renew the lease for the specified object.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ISponsor Interface | ISponsor Members | System.Runtime.Remoting.Lifetime Namespace

© 2015 Microsoft