Defines the interface for the session implemented on each side of a bi-directional communication between messaging endpoints.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The interface is the union of the inbound session, defined by the IInputSession interface, and the outbound session, defined by the IOutputSession interface. Either the inbound session or outbound session can be terminated independently of the other. The outbound session can be terminated synchronously by calling CloseOutputSession or asynchronously by calling BeginCloseOutputSession.
The inbound session can be remotely terminated. The Receive associated with the inbound session starts returning nullptr when that session is shutdown.
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.