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

  • Thread starter Nicholas Paldino [.NET/C# MVP]
  • 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top