[Mono-winforms-list] Control.Invoke and Exceptions

Tom Spink tspink at gmail.com
Thu Apr 9 16:32:43 EDT 2009


Hi Guys,

I've been migrating some software over to Mono, which relies heavily
on the Control.Invoke method, and I've come up against a possible
limitation (please, correct me if I'm wrong) in that the Invoke method
doesn't throw an exception which is thrown by the method being
invoked.

I'm wondering if this is intended behaviour (as I'm getting the
exception thrown on the Windows implementation of .NET), or not,
because I've come up with a small patch that introduces this
functionality.

I'm not subscribed to the list, so please could you CC me on any responses?

Thanks!
-- 
Tom Spink
Fred Allen  - "Washington is no place for a good actor. The
competition from bad actors is too great." -
http://www.brainyquote.com/quotes/authors/f/fred_allen.html


More information about the Mono-winforms-list mailing list