For Programmers: Free Programming Magazines  


Home > Archive > C# > January 2005 > Program handles Gui event while staying in WebServiceProxy.Invoke() when debugging









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2005-01-12, 8:57 am

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


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com