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.
Example
<configuration>
<system.runtime.remoting>
<application>
<lifetime
leaseTime = "10M"
sponsorshipTimeOut = "2M"
renewOnCallTime = "2M"
LeaseManagePollTime = "10s"
/>
</application>
</system.runtime.remoting>
</configuration>
See Also
Reference
System.Runtime.Remoting.RemotingConfiguration Class
Concepts
Configuration of Remote Applications
Channels
Channel Registration
Server-Side Registration
Client-Side Registration
Channel Registration
Other Resources
Registering Remote Objects Using Configuration Files
.NET Framework Remoting Overview