<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.1" />

System.ServiceModel.Channels.IDuplexSession

namespace System.ServiceModel.Channels { public interface IDuplexSession : IInputSession, ISession, IOutputSession { void CloseOutputSession(); void CloseOutputSession(TimeSpan timeout); IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state); IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state); void EndCloseOutputSession(IAsyncResult result); } }