[Mono-list] Events using Remoting

Jonathan Gilbert 2a5gjx302@sneakemail.com
Thu, 02 Dec 2004 18:33:07 -0500


At 11:46 AM 02/12/2004 +0100, Lluis Sanchez wrote:
>Hi,
>
>The problem is that the delegate is referencing a method of a type that
>is no available in the server. When the server tries to deserialize the
>delegate, it can't find the referenced type and throws the exception.

The server *can* see the delegate type itself, though, right? I thought
delegates were MarshalByRef and as such a remoted delegate would be a proxy
which, when Invoke()d, would call back across the remoting channel... I
seem to remember testing this in .NET in the distant past (and it working)...

Jonathan Gilbert