473,468 Members | 1,325 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 7022
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
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: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
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.