How to: Configure the Lifetime of a Client-Activated or Server-Activated Remote Object
This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).
The following code demonstrates a very simple lifetime configuration for a remote object.
<configuration> <system.runtime.remoting> <application> <lifetime leaseTime = "10M" sponsorshipTimeOut = "2M" renewOnCallTime = "2M" LeaseManagePollTime = "10s" /> </application> </system.runtime.remoting> </configuration>
Copyright © 2007 by Microsoft Corporation. All rights reserved.