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.

  NameDescription
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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft