Defines the methods necessary to inspect or modify the creation of InstanceContext objects when required.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
There can be any number of context initializers for a service. Typically, the is added to attach an extension to the InstanceContext object as a mechanism for passing data throughout an application.
If you want to participate in providing or selecting the InstanceContext object that processes a message, see System.ServiceModel.Dispatcher::IInstanceContextProvider.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.