WCF:当reliableSession enabled=“false"时,inactivityTimeout 是否有效? [英] WCF : Is inactivityTimeout effective when reliableSession enabled="false"
本文介绍了WCF:当reliableSession enabled=“false"时,inactivityTimeout 是否有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我有这个配置:
<reliableSession
ordered="true"
inactivityTimeout="00:10:00"
enabled="false" />
inactivityTimeout 是否有效(即使没有启用reliableSession)?
Is the inactivityTimeout effective (even if reliableSession is not enabled)?
如果无效,您可以在其他地方控制不活动超时吗?
EDIT : If is not effective, can you control inactivity timeout elsewhere?
谢谢
推荐答案
我在 MSDN 文档.Binding 元素的 receiveTimeout 也是一个不活动超时.当启用了reliableSession 时,这两个值都有效.
I found the answer in the MSDN doc. The receiveTimeout of the Binding element is also an inactivity timeout. When reliableSession is enabled both values are effective.
这篇关于WCF:当reliableSession enabled=“false"时,inactivityTimeout 是否有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文