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

System.ServiceModel.CommunicationState

public enum CommunicationState
namespace System.ServiceModel { public enum CommunicationState { Closed = 4, Closing = 3, Created = 0, Faulted = 5, Opened = 2, Opening = 1 } }