It appears related to the SyncContext. The first time through, the SyncContext is not null - but for subsequent calls it's null (not sure yet why that is). By setting the ae's SyncContext = null before calling BeginExecute I can hit all the breaks.
I have an odd situation and could use some debugging advice. The first time I call Foo below I only see break (1), and never any others (I expect 1, 2, 3, 4,...
I just tried this and it did work for me. My full code is below. This did uncover a small somewhat unrelated bug where ResumeCallback did not get invoked and I...
I've been using your AE now for a few years in several projects and never had a problem quite like this. No doubt that AE is solid - this is almost certainly...
Correct. Ran your sample code using original dll and confirmed the bug, then with your new version and confirmed the fix Referenced your new dll in my app and...
It appears related to the SyncContext. The first time through, the SyncContext is not null - but for subsequent calls it's null (not sure yet why that is). By...
Always on a worker thread per the Threads window (GUI not blocking). I've used a number of AEs to compose an asynchronous workflow (involves database ...