Waiting period in Webservices
1 answer
Most web services ultimately derive from the WebClientProtocol. This class has a timeout property that can be used to change the timeout. Install it before calling the service and it should do the trick.
Example
void SomeMethod() {
SomeWebService v1 = new SomeWebService();
v1.Timeout = 1000;
v1.AWebServiceCall();
}
+2
source to share