コード例 #1
0
 public void AddTo(MessageProperties properties)
 {
     this.ThrowIfDisposed();
     if (properties == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("properties");
     }
     properties.Add(Name, this);
 }
コード例 #2
0
        public void AddTo(MessageProperties properties)
        {
            if (properties == null)
            {
                throw FxTrace.Exception.ArgumentNull("properties");
            }

            properties.Add(NetworkInterfaceMessageProperty.Name, this);
        }
コード例 #3
0
        public void AddTo(MessageProperties properties)
        {
            ThrowIfDisposed();
            if (properties == null)
            {
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(properties));
            }

            properties.Add(ChannelBindingMessageProperty.Name, this);
        }