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
[C#]
public static TimeSpan RenewOnCallTime {get; set;}
[C++]
public: __property static TimeSpan get_RenewOnCallTime();
public: __property static void set_RenewOnCallTime(TimeSpan);
[JScript]
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.

Exceptions

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.

Remarks

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

Requirements

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

Show: