CallContext behavior

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • A Rothberg

    #1

    CallContext behavior

    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.
Working...