Hi, Sorry in advance if this is very mundane, unfortunately I am fairly new to APM in general as well as this quite amazing library. I'm just wondering how to...
You can either put a try/catch inside the iterator and catch an exception inside the iterator so that you can recover and keep going. Or, you could call...
A new version of my Power Threading Library (dated March 7, 2009) will be posted early next week at http://wintellect.com/PowerThreading.aspx. There are no...
Great news! On Sun, Mar 8, 2009 at 01:35, Jeffrey Richter (Wintellect LLC) < ... Great news! On Sun, Mar 8, 2009 at 01:35, Jeffrey Richter (Wintellect LLC) <...
The geekSpeak event I did about the Silverlight version of my AsyncEnumerator where I also showed off some of the new debugging features can be found here: ...
I'm looking into using the AsyncEnumerator to help work with HttpWebRequest objects. Here is what I haven't figured out how to handle well yet. When you use...
Okay I found an interesting solution to this myself. I'm wondering though if there are any problems with my approach I should be aware of. What I did was...
I used Reflector to examine the code for HttpWebRequest's Abort method and upon cursory review, it appears that this method forces the "logical" completion of...
What you say makes sense. The only thing is now that I've written the custom wrapper I like the fact that it encapsulates all the timeout logic. I can simply...
I think your method works fine as is. You are adding a fair amount of overhead which I wouldn't accept myself if I were trying to build a very high-performance...
Hi All, Here is the use case that I would like to achieve. We want to provide an asynchronous work/task api. Provider could write their own implementation of...
Hi All, I have updated the uploaded zip file. Basically I did cleanup of code which I wrote for some test purpose. Now the uploaded zip reflects what I want to...
While I try to assist people using my Power Threading library as much as possible by reviewing some code snippets and answering questions, I cannot start...
Hi Jeff, I understand. Basically I wanted to see if this is a pattern which is already identifed and some samples are already available. Here we have a host,...
I/O operations can't really be cancelled. When you cancel an AsyncEnumerator object, you are really just setting a flag and I force your iterator to continue...
Hi Jeff, I am trying to find a way to cancel all the pending async operations in the plugin. Currently am thinking any one of the following appraoch could be...
I'm new to PowerThreading and so I may be way off here but what you are trying to do sounds to me like you could accomplish by nesting async enumerators. If I...
What Bryan says is exactly right (thanks Brian for contributing to the discussion). Your host can create an AE and pass it into the plug-in and then the...
I apologize if this is a bit offtopic but I think I can get a good answer here. If you are using the HttpWebRequest object and want to post data you have to...
On Fri, Mar 13, 2009 at 23:40, Jeffrey Richter (Wintellect LLC) ... Hi Jeffrey, from Vista up the I/O operations can be cancelled. But of course, that's not...
Yes, you are right (in a sense). The actual network request is still performed but the device driver automatically throws the response away when it comes back....
I just asked the System.NET team this question and they told me that you should NOT try to call BeginGetResponse before BeginGetRequestStream completes. The...
Thank you so much for the info. Bryan On Sat, Mar 14, 2009 at 5:36 PM, Jeffrey Richter (Wintellect LLC) < ... Thank you so much for the info. Bryan On Sat,...
Hi Jeff/Bryan, Thanks for the help. Since plug-in has to create more than one AE, passing an AE object as part of the interface didn't work out for us. Also...
Hi Jeff, thank you for great library! As I understand from description/articles AsyncEnumerator didn't release thread until first yield return XXX; Is there...
€ ΆΠ’½ΠΈΠΊΠΎΠ»Π°ΠΉ € ...
nsentinel@...
Mar 19, 2009 8:02 pm
394
Hi folks, on a somewhat related question, how does one assign a discard group (and associated cleanup call) to an asynchronous operation that returns a...