This documentation is archived and is not being maintained.

LifetimeServices.RenewOnCallTime Property

Gets or sets the amount of time by which the lease is extended every time a call comes in on the server object.

[Visual Basic]
Public Shared Property RenewOnCallTime As TimeSpan
public static TimeSpan RenewOnCallTime {get; set;}
public: __property static TimeSpan get_RenewOnCallTime();
public: __property static void set_RenewOnCallTime(TimeSpan);
public static function get RenewOnCallTime() : TimeSpan;
public static function set RenewOnCallTime(TimeSpan);

Property Value

The TimeSpan by which a lifetime lease in the current AppDomain is extended after each call.


Exception Type Condition
SecurityException At least one of the callers higher in the callstack does not have permission to configure remoting types and channels. This exception is thrown only when setting the property value.


The default renewal time by which a lifetime lease is extended is 2 minutes.


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

LifetimeServices Class | LifetimeServices Members | System.Runtime.Remoting.Lifetime Namespace