Export (0) Print
Expand All

ILease.RenewOnCallTime Property

Gets or sets the amount of time by which a call to the remote object renews the CurrentLeaseTime.

Namespace:  System.Runtime.Remoting.Lifetime
Assembly:  mscorlib (in mscorlib.dll)

TimeSpan RenewOnCallTime { get; set; }

Property Value

Type: System.TimeSpan
The amount of time by which a call to the remote object renews the CurrentLeaseTime.

ExceptionCondition
SecurityException

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

When you make a call to a remote object, the lifetime service adds the RenewOnCallTime to the CurrentLeaseTime only if the CurrentLeaseTime has dropped below the RenewOnCallTime. Sequential calls therefore do not increase the CurrentLeaseTime without bound. Instead, immediately after any call, the CurrentLeaseTime is guaranteed to be the RenewOnCallTime or longer.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft