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

System.ServiceModel.Channels.MessageProperties

public sealed class MessageProperties : ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable, IDictionary<string, object>, IDisposable
public bool AllowOutputBatching { get; set; }

public int Count { get; }

public MessageEncoder Encoder { get; set; }

public bool IsFixedSize { get; }

public object this[string name] { get; set; }

public ICollection<string> Keys { get; }

public SecurityMessageProperty Security { get; set; }

public ICollection<object> Values { get; }

public Uri Via { get; set; }

public void Add(string name, object property)

public void Clear()

public bool ContainsKey(string name)

public void CopyProperties(MessageProperties properties)

public void Dispose()

public bool Remove(string name)

public bool TryGetValue(string name, out object value)