Implement to participate in the creation or choosing of a System.ServiceModel.InstanceContext object, especially to enable shared sessions.
The IInstanceContextProvider type exposes the following members.
|GetExistingInstanceContext||Called when a new message is received.|
|InitializeInstanceContext||Called when null is returned from the GetExistingInstanceContext method.|
|IsIdle||Called when all InstanceContext activities have completed to enable implementers to prevent the InstanceContext from being recycled.|
|NotifyIdle||Called when the IsIdle method returns false to enable implementers to provide a callback to notify WCF when the InstanceContext object is finished.|