This documentation is archived and is not being maintained.

IInstanceContextProvider Members

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.

Public method GetExistingInstanceContext Called when a new message is received.
Public method InitializeInstanceContext Called when null is returned from the GetExistingInstanceContext method.
Public method IsIdle Called when all InstanceContext activities have completed to enable implementers to prevent the InstanceContext from being recycled.
Public method NotifyIdle Called when the IsIdle method returns false to enable implementers to provide a callback to notify WCF when the InstanceContext object is finished.