Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
QuestionStatic member Pin
ss.mmm20-Sep-07 3:44
ss.mmm20-Sep-07 3:44 
AnswerRe: Static member Pin
kubben20-Sep-07 3:45
kubben20-Sep-07 3:45 
GeneralRe: Static member Pin
Colin Angus Mackay20-Sep-07 3:47
Colin Angus Mackay20-Sep-07 3:47 
GeneralRe: Static member Pin
kubben20-Sep-07 3:48
kubben20-Sep-07 3:48 
JokeRe: Static member Pin
Pete O'Hanlon20-Sep-07 4:19
mvePete O'Hanlon20-Sep-07 4:19 
AnswerRe: Static member Pin
ss.mmm20-Sep-07 8:44
ss.mmm20-Sep-07 8:44 
QuestionThe operation has timed out when using web services Pin
gbabu1720-Sep-07 3:13
gbabu1720-Sep-07 3:13 
AnswerRe: The operation has timed out when using web services Pin
Ravi Bhavnani20-Sep-07 3:49
professionalRavi Bhavnani20-Sep-07 3:49 
There are 2 types of timeouts that you can specify on the client side when making a call to a web service: send and receive. If you're expecting to send a large amount of data, increase the send timeout; if you're expecting to receive a large amount of data, increase the receive timeout. You can of course specify both or none.

The timeouts are properties of the binding. Here's an example of how to specify them.
// Create service proxy
string url = "http://localhost:1234/MyService";
EndpointAddress address = new EndpointAddress (url);
WSHttpBinding binding = new WSHttpBinding();
<code>binding.SendTimeout = ...;</code>
<code>binding.ReceiveTimeout = ...;</code>
ChannelFactory<IMyService> cf =
  new ChannelFactory<IMyService>(binding, address);
IMyService svcProxy = cf.CreateChannel();

// Call method
svcProxy.MyMethod();
Hope this helps!

/ravi

This is your brain on Celcius
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com

GeneralRe: The operation has timed out when using web services Pin
gbabu1720-Sep-07 5:08
gbabu1720-Sep-07 5:08 
GeneralRe: The operation has timed out when using web services Pin
Ravi Bhavnani20-Sep-07 10:31
professionalRavi Bhavnani20-Sep-07 10:31 
QuestionWindowless controls + keep design-time advantages Pin
ctoma200520-Sep-07 2:34
ctoma200520-Sep-07 2:34 
AnswerRe: Windowless controls + keep design-time advantages Pin
Michael Potter20-Sep-07 3:58
Michael Potter20-Sep-07 3:58 
GeneralRe: Windowless controls + keep design-time advantages Pin
ctoma200520-Sep-07 4:04
ctoma200520-Sep-07 4:04 
GeneralRe: Windowless controls + keep design-time advantages Pin
Michael Potter20-Sep-07 4:32
Michael Potter20-Sep-07 4:32 
GeneralRe: Windowless controls + keep design-time advantages Pin
ctoma200520-Sep-07 5:45
ctoma200520-Sep-07 5:45 
GeneralRe: Windowless controls + keep design-time advantages Pin
Dave Kreskowiak20-Sep-07 7:14
mveDave Kreskowiak20-Sep-07 7:14 
GeneralRe: Windowless controls + keep design-time advantages Pin
ctoma200520-Sep-07 21:05
ctoma200520-Sep-07 21:05 
GeneralRe: Windowless controls + keep design-time advantages Pin
Dave Kreskowiak21-Sep-07 2:05
mveDave Kreskowiak21-Sep-07 2:05 
GeneralRe: Windowless controls + keep design-time advantages Pin
ctoma200521-Sep-07 2:28
ctoma200521-Sep-07 2:28 
GeneralRe: Windowless controls + keep design-time advantages Pin
Dave Kreskowiak21-Sep-07 11:59
mveDave Kreskowiak21-Sep-07 11:59 
GeneralRe: Windowless controls + keep design-time advantages Pin
ctoma200522-Sep-07 1:02
ctoma200522-Sep-07 1:02 
AnswerRe: Windowless controls + keep design-time advantages Pin
Michael Potter20-Sep-07 4:36
Michael Potter20-Sep-07 4:36 
QuestionSearching through ListBox Pin
pavya_Cool20-Sep-07 2:19
pavya_Cool20-Sep-07 2:19 
AnswerRe: Searching through ListBox Pin
Giorgi Dalakishvili20-Sep-07 2:26
mentorGiorgi Dalakishvili20-Sep-07 2:26 
AnswerRe: Searching through ListBox Pin
Luc Pattyn20-Sep-07 4:42
sitebuilderLuc Pattyn20-Sep-07 4:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.