DispatchRuntime::InstanceContextInitializers Property
Gets a collection of IInstanceContextInitializer objects that can be used to inspect or modify an InstanceContext object when it is first created.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property SynchronizedCollection<IInstanceContextInitializer^>^ InstanceContextInitializers { SynchronizedCollection<IInstanceContextInitializer^>^ get(); }
Property Value
Type: System.Collections.Generic::SynchronizedCollection<IInstanceContextInitializer^>^A SynchronizedCollection<T> object of type IInstanceContextInitializer.
Use the InstanceContextInitializers property to add a custom initializer that can inspect or modify an InstanceContext object when it is first created. The frequency with which InstanceContext objects are created is controlled by the InstanceContextMode property.
Available since 3.0