[Mono-bugs] [Bug 328830] BackgroundWorker: RunWorkerCompletedEventArgs. Result should rethrow exception from DoWork

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 27 18:06:53 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=328830

User MonkeeSage at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=328830#c3





--- Comment #3 from Jordan Callicoat <MonkeeSage at gmail.com>  2008-03-27 16:06:53 MST ---
Created an attachment (id=204446)
 --> (https://bugzilla.novell.com/attachment.cgi?id=204446)
Testcase without using WinForms

This testcase demonstrates that accessing RunWorkerCompletedEventArgs.Result
when RunWorkerCompletedEventArgs.Cancelled is true, does not result in
InvalidOperationException as per spec. throwing an exception rather than
calling CancelAsync (see commented line), as  fails to throw a
TargetInvocationException as it should. Testcase runs properly on MSFT.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list