Provides a set of properties that are carried with the execution code path during remote method calls.
See Also: LogicalCallContext Members
The System.Runtime.Remoting.Messaging.LogicalCallContext class is a version of the System.Runtime.Remoting.Messaging.CallContext class that is used during method calls to remote application domains. The System.Runtime.Remoting.Messaging.CallContext is a specialized collection object similar to a thread local storage for method calls, and provides data slots that are unique to each logical thread of execution. The slots are not shared across call contexts on other logical threads. Objects can be added to the System.Runtime.Remoting.Messaging.CallContext as it travels down and up the execution code path, and examined by various objects along the path.
When a remote method call is made to an object in another AppDomain, the System.Runtime.Remoting.Messaging.CallContext class generates a System.Runtime.Remoting.Messaging.LogicalCallContext that travels along with the remote call. Only objects that expose the System.Runtime.Remoting.Messaging.ILogicalThreadAffinative interface and are stored in the System.Runtime.Remoting.Messaging.CallContext are propagated outside the AppDomain in a System.Runtime.Remoting.Messaging.LogicalCallContext. Objects that do not support this interface are not transmitted in System.Runtime.Remoting.Messaging.LogicalCallContext instances with remote method calls.
This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [<topic://cpconLinkDemands>] for more information.