Export (0) Print
Expand All

DispatchOperation.CallContextInitializers Property

A collection of System.ServiceModel.Dispatcher.ICallContextInitializer objects that defines the methods that enable the initialization and recycling of thread-local storage with the thread that invokes user code.

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public SynchronizedCollection<ICallContextInitializer> CallContextInitializers { get; }

Use the CallContextInitializers property to add custom ICallContextInitializer objects that add state to the call context for the duration of the call and can retrieve it subsequent to the completion of the call but prior to returning the message.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft