|
-
March 20th, 2003, 07:25 AM
#1
Calling Webservice Method from a timer method
I have created a timer.
TimerCallback timerDelegate = new TimerCallback(MyCallBack);
Timer timer = new Timer(timerDelegate,num,1000, 1000);
Simply call MyCallBack function after every second
Now in MyCallBack I just call the HelloWorld function of a simple webservice and displays that value in a listbox
void Inform(Object state)
{
m_lb.Items.Add(s.HelloWorld());
}
The funny thing is that this works only 19 times ...the string Hello is displayed only 19 times after which is stops....
WHY????????????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|