F
Fritz Hilgemann
Hello,
I have a WCF service and client (duplex) where the client is mainly waiting
for events via the callback. Unfortunately, it suffers from timing out,
since it does not call a dummy function once in a while. So, I would like to
change the inactivity timeout to infinite.
All I found how to do this in the configuration file. BUT: I am
intentionally not using a config file. Instead, I code the service behaviour
directly.
tcpBinding.ReliableSession.InactivityTimeout =
The point is, it accepts a TimeSpan, but appearently, Timespan does not
support "infinite".
Any ideas how to accomplish this infinite behaviour programatically?
Regards,
Fritz
I have a WCF service and client (duplex) where the client is mainly waiting
for events via the callback. Unfortunately, it suffers from timing out,
since it does not call a dummy function once in a while. So, I would like to
change the inactivity timeout to infinite.
All I found how to do this in the configuration file. BUT: I am
intentionally not using a config file. Instead, I code the service behaviour
directly.
tcpBinding.ReliableSession.InactivityTimeout =
The point is, it accepts a TimeSpan, but appearently, Timespan does not
support "infinite".
Any ideas how to accomplish this infinite behaviour programatically?
Regards,
Fritz