1
Answer

How to set the timeout property for the WCF Service client

Photo of Rv Singh

Rv Singh

11y
4.6k
1
The timeout property can be set for the WCF Service client call using binding tag.  
  1. <client>   
  2.    <endpoint   
  3.       ...   
  4.       binding = "wsHttpBinding"   
  5.  bindingConfiguration = "LongTimeout"   
  6.       ...   
  7.    />   
  8. </client>   
  9. <bindings>   
  10.    <wsHttpBinding>   
  11.         <binding name = "LongTimeout" sendTimeout = "00:04:00"/>   
  12.    </wsHttpBinding>   
  13. </bindings>  
 Thanks

Answers (1)