473,463 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

EndInvoke can only be called once for each asynchronous operation

hello

i am getting this error

EndInvoke can only be called once for each asynchronous operation
I have coded an app using the async method development pattern. This error
occurred under stress testing
I would appreciate any help you folks can provide.
thanks


Jul 21 '05 #1
1 7021
scott ocamb <so****@hotmail.com> wrote:
i am getting this error

EndInvoke can only be called once for each asynchronous operation

I have coded an app using the async method development pattern. This error
occurred under stress testing

I would appreciate any help you folks can provide.


Well, that would suggest that you're calling EndInvoke on the same
reference twice - I suggest you put in some logging (and a unique ID to
keep track of) so you can see when it's about to happen, and work
backwards from there.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vishal Gupta | last post by:
Hi, I am trying to call a function in my web page, asynchronously, to improve performance. I am using a function delegate to do that. I have a web page. When the user clicks a button, i want to...
2
by: Jet Leung | last post by:
Hi All, There is a problem about asynchronism process.If I run the method by BeginInvoke() and how can I know when the method is finish? And maybe I can say when I can use EndInvoke()?
2
by: Nick Palmius | last post by:
Hello, I am experimenting with async callbacks using BeginInvoke and EndInvoke, and although my code which I have shown below works, when the program stops at the end (on the ReadLine()), there...
11
by: Doug Thews | last post by:
I've been working on some samples that use BeginInvoke/EndInvoke. In one example, I call BeginInvoke and pass it an AsyncCallback function pointer. I was messing around with ReaderWriterLocks and...
1
by: scott ocamb | last post by:
hello i am getting this error EndInvoke can only be called once for each asynchronous operation I have coded an app using the async method development pattern. This error occurred under...
2
by: Robinson | last post by:
I can start an Asynchronous operation against a data source with SQLCommand.BeginExecuteReader, allowing me to loop, checking for user cancellation before the operation has completed, but how then...
12
by: semedao | last post by:
Hi all, someone know if I can use the IAsyncResult.IsCompleted Property of IAsyncResult that return from Socket.Beginxxx methods to determine if the Endxxx method already called perior or not ? I...
2
by: Diffident | last post by:
Hello All, I would like to know how I can process a non-CPU bound operation in an asynchronous fashion so that the original thread is returned to the thread pool? Fritz Onion wrote a very...
3
by: Peter | last post by:
Hi I call some "worker"-Methods asyncronous. here some simplified code .... public delegate long AsyncWCaller(string parameter); ....
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.