G
Guest
If this is simple, forgive my ignorance, but I'm coming from the
CompactFramework where we don't use AppDomains. I did a fair bit of archive
searching and couldn't find an answer and I got no responsed in the remoting
group after a week, so I'm throwing a little wider net this time.
I have a desktop app (FFx 2.0) developed with Studio 05 that loads
assemblies in a separate AppDomains from the primary UI. I'd like to be
able to hook up a TraceListener in the UI AppDomain and then get information
to it from Trace.Write in the other AppDomains.
I realize that the Trace data exists inside the individual AppDomains, but
Studio itself seems to have no problem receiving and displaying the Trace
statements from all AppDomains that I'm running, so I know that doing this
is possible.
Is there some general practice or pattern that would allow me to get the
Trace info from all AppDomains (within my actual process is fine)?
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
CompactFramework where we don't use AppDomains. I did a fair bit of archive
searching and couldn't find an answer and I got no responsed in the remoting
group after a week, so I'm throwing a little wider net this time.
I have a desktop app (FFx 2.0) developed with Studio 05 that loads
assemblies in a separate AppDomains from the primary UI. I'd like to be
able to hook up a TraceListener in the UI AppDomain and then get information
to it from Trace.Write in the other AppDomains.
I realize that the Trace data exists inside the individual AppDomains, but
Studio itself seems to have no problem receiving and displaying the Trace
statements from all AppDomains that I'm running, so I know that doing this
is possible.
Is there some general practice or pattern that would allow me to get the
Trace info from all AppDomains (within my actual process is fine)?
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com