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

System.ServiceModel.InstanceContext

namespace System.ServiceModel { public sealed class InstanceContext : CommunicationObject, IExtensibleObject<InstanceContext> { public IExtensionCollection<InstanceContext> Extensions { get; } public ICollection<IChannel> IncomingChannels { get; } public ICollection<IChannel> OutgoingChannels { get; } public SynchronizationContext SynchronizationContext { get; set; } public InstanceContext(object implementation); public object GetServiceInstance(Message message); } }