[IronPython] Ironpython delegates never get called

jon vs. python jonvspython at gmail.com
Fri Apr 30 16:52:35 CEST 2010

On Fri, Apr 30, 2010 at 4:32 PM, Curt Hagenlocher <curt at hagenlocher.org>wrote:

> How is the Master object you create from Python shared back with the C#
> code? (I'm assuming that the event is being triggered from C#.) How did you
> check to see that the events were processed? Does the event-triggering code
> swallow exceptions?
Hi Curt,
The Ironpython object owns a C# object that has a TcpClient transmits and
calls OnResponseData when response data is received. I just placed a couple
of Console.WriteLine(...) calls in order to see if data was being received.
I've no exception handling implemented in the event triggering code so I
guess that if an exception happened it would get to the console.
Thanks, Jon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100430/2821a00a/attachment.html>

More information about the Ironpython-users mailing list