public void AddTo(MessageProperties properties) { this.ThrowIfDisposed(); if (properties == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("properties"); } properties.Add(Name, this); }
public void AddTo(MessageProperties properties) { if (properties == null) { throw FxTrace.Exception.ArgumentNull("properties"); } properties.Add(NetworkInterfaceMessageProperty.Name, this); }
public void AddTo(MessageProperties properties) { ThrowIfDisposed(); if (properties == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(properties)); } properties.Add(ChannelBindingMessageProperty.Name, this); }