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

System.ServiceModel.Channels.ServiceChannelProxy

namespace System.ServiceModel.Channels { public class ServiceChannelProxy : DispatchProxy, ICommunicationObject, IChannel, IClientChannel, IContextChannel, IExtensibleObject<IContextChannel>, IDisposable, IOutputChannel, IRequestChannel, IServiceChannel, IDuplexContextChannel { public bool AutomaticInputSessionShutdown { get; set; } public InstanceContext CallbackInstance { get; set; } event EventHandler ICommunicationObject.Closed; event EventHandler ICommunicationObject.Closing; event EventHandler ICommunicationObject.Faulted; event EventHandler ICommunicationObject.Opened; event EventHandler ICommunicationObject.Opening; event EventHandler<UnknownMessageReceivedEventArgs> IClientChannel.UnknownMessageReceived; public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state); public void EndCloseOutputSession(IAsyncResult result); public void CloseOutputSession(TimeSpan timeout); public ServiceChannelProxy(); } }