简体   繁体   中英

sendTimeout exceeded by the client on Timeout Exception

I am trying to reduce the timeout/EndPointNotFound exception time to 10 seconds. Logs of Exception suggest that the call gets timeout in 10 seconds but if i add the code with StopWatch it takes around 21 - 22 seconds.

I have read the same on this link.

Is it really a bug ?. Is there any workaround?

1 SendTimeout is used to initialize the OperationTimeout, which governs the whole interaction for sending a message

http://msdn.microsoft.com/fr-fr/librarysystem.servicemodel.configuration.standardbindingelement.sendtimeout.aspx

http://msdn.microsoft.com/fr-fr/library/ms731343.aspx

It's not a bug

2 you can adjust property sendTimeout="" in binding section

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM