WCF - What is the difference between Binding.RecieveTimeout and Binding.ReliableSession.InactivityTimeout?

In WCF, what is the difference between Binding.RecieveTimeout and Binding.ReliableSession.InactivityTimeout?

+3
source share
1 answer

From http://blogs.msdn.com/drnick/archive/2007/06/26/session-lifetime-on-the-server.aspx

When using a trusted session, there are two different inactivity timers that must be completed in order to maintain a live connection. If the sleep timer is disabled, the connection is disconnected. The first inactivity timer is in a trusted session and is called InactivityTimeout. This inactivity timer is triggered if no messages, applications or infrastructures are received during the timeout. Infrastructure message is a message that is generated for one of the protocols in the channel stack, for example, to save or confirm, and not to store application data. The second idle timer is in the service and uses the ReceiveTimeout binding parameter. This inactivity timer is triggered if application messages are not received during the waiting period.

+3
source

Source: https://habr.com/ru/post/1698211/


All Articles