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

System.ServiceModel.Channels.ServiceChannelFactory

namespace System.ServiceModel.Channels { internal abstract class ServiceChannelFactory : ChannelFactoryBase { public ClientRuntime ClientRuntime { get; } public MessageVersion MessageVersion { get; } public ServiceChannelFactory(ClientRuntime clientRuntime, Binding binding); public static ServiceChannelFactory BuildChannelFactory(ChannelBuilder channelBuilder, ClientRuntime clientRuntime); public static ServiceChannelFactory BuildChannelFactory(ServiceEndpoint serviceEndpoint); public static ServiceChannelFactory BuildChannelFactory(ServiceEndpoint serviceEndpoint, bool useActiveAutoClose); public void ChannelCreated(IChannel channel); public void ChannelDisposed(IChannel channel); public virtual ServiceChannel CreateServiceChannel(EndpointAddress address, Uri via); public TChannel CreateChannel<TChannel>(EndpointAddress address); public TChannel CreateChannel<TChannel>(EndpointAddress address, Uri via); public abstract bool CanCreateChannel<TChannel>(); protected abstract IChannelBinder CreateInnerChannelBinder(EndpointAddress address, Uri via); } }