且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

空闲时间后的RemotingException

更新时间:2023-11-22 08:38:34

仅限远程对象实况QUOT;他们断开之前的某个时间。我相信默认时间是5分钟。您需要保持活着的是一个称为ClientSponsor的东西,如果您需要
来保持对象"活着",它可以在到期时续订租约。

Remoted objects only "live" a certain time before they disconnect. I believe the default time is something like 5 minutes. What you need to keep it alive is something called a ClientSponsor which can renew the lease when it expires if you need to keep the object "alive" for longer periods of time.

您可以在
MSDN library