CallContext behavior


A

A Rothberg

Have some questions about the behavior of CallContext and visibility
to the CallContext data.

Can someone please confirm (or deny) that the observed behaviors are
by design and will not be changing in future releases of .NET

Given a caller that sets data in CallContext via SetData()...
If the callee is a:

Remoted Singleton - The caller's CallContext data is available,
changes made to CallContext are visible to the caller

Async Delegate - The caller's CallContext data is available, changes
made to CallContext are NOT visible to the caller

new Thread - The caller's CallContext data is not available

Method Call (to another class) - The caller's CallContext data is
available, changes made to CallContext are visible to the caller


Thanks.
 
Ad

Advertisements


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