Re: Remoting Error: Trying to create a proxy to an unbound type

  • Thread starter Thread starter Nicholas Paldino [.NET/C# MVP]
  • Start date Start date
N

Nicholas Paldino [.NET/C# MVP]

Asaf,

I don't think that it is a good idea to return an Image type. The
reason is that the Image type itself is derived from MarshalByValueObject,
and means that calls from your application domain are going to be marshaled
back to the application domain of the singleton. This is probably not what
you want.

You might want to change the signature of the method to return a byte
array, which can be serialized. Then on the other side, you would
re-hydrate the object from the byte array.

Hope this helps.
 
Back
Top