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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft