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

Jonathan Pobst monkey at jpobst.com
Fri Apr 10 12:31:50 EDT 2009


The intended behavior is to match Microsoft's .NET implementation.  If 
Mono differs, please file a bug at:

http://www.mono-project.com/Bugs

Thanks!
Jonathan


Tom Spink wrote:
> 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!



More information about the Mono-winforms-list mailing list