Home All Groups Group Topic Archive Search About

Program handles Gui event while staying in WebServiceProxy.Invoke() when debugging

Author
12 Jan 2005 12:09 PM
Roeland
Hello,

When calling the Invoke() method of a web service proxy class, this normally
is a synchroneous call, that stays untill the results are received. Gui
events are not handled in the mean time.

However, when having attached the debugger to the process (or performing F5
in VS), the process doesn't stay in the Invoke method, but handles Gui
events that were set just before. This leads of course to unwanted
behaviour, because the order of actions is wrong.

Is this behaviour configurable, to make it possible that the process will
not handle Gui events when it is waiting in the Invoke method?

Kind regards,
Roeland

AddThis Social Bookmark Button