[Mono-dev] AppDomains
Robert Jordan
robertj at gmx.net
Mon Nov 13 12:55:06 EST 2006
Robert Jordan wrote:
> Matthijs ter Woord wrote:
>> Hi,
>>
>> I'm the project coordinator of the NApf project. (see
>> http://www.codeplex.com/NApf)
>>
>> For testing our project, we designed a special test harness, which starts
>> small test applications in separate AppDomains. To transfer test states back
>> to the "runner", the child domains get callback methods using the
>> AppDomain.SetData/GetData methods. Whe the SetData method gets called. I get
>> a very strange exception (all namespaces starting with NApf are ours):
>>
>
> Nothing strange here. You are trying to call SetData on an object whose
> type is not serializable or not derived from MarshalByRefObject.
I forgot to attach the test case. If it's not similar to yours,
feel free to create your own test case based on it.
Robert
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: server.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061113/b6baa1dc/attachment.pl
More information about the Mono-devel-list
mailing list