24 references to Add
System.ServiceModel (21)
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
74message.Headers.Add(this[i].ToMessageHeader());
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
176message.Headers.Add(new CallbackContextMessageHeader(callbackAddress, message.Version.Addressing));
System\ServiceModel\Channels\ContextProtocol.cs (1)
53message.Headers.Add(new ContextMessageHeader(context.Context));
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
30message.Headers.Add(header);
System\ServiceModel\Channels\PeerNodeImplementation.cs (4)
357message.Headers.Add(PeerDictionaryHeader.CreateMessageIdHeader(messageId)); 359message.Headers.Add(MessageHeader.CreateHeader(PeerOperationNames.PeerTo, PeerStrings.Namespace, message.Headers.To)); 360message.Headers.Add(PeerDictionaryHeader.CreateViaHeader(via)); 361message.Headers.Add(PeerDictionaryHeader.CreateFloodRole());
System\ServiceModel\Channels\TransactionChannel.cs (1)
207message.Headers.Add(header);
System\ServiceModel\Channels\WsrmFault.cs (1)
381message.Headers.Add(header);
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (1)
125message.Headers.Add(this);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
209headers.Add(new XmlElementMessageHeader(this, messageVersion, xmlElement.LocalName, xmlElement.NamespaceURI, mustUnderstand, actor, relay, xmlElement)); 212headers.Add(new DataContractSerializerMessageHeader(headerPart, valueToSerialize, mustUnderstand, actor, relay));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (3)
101message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 113message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 125message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
System\ServiceModel\MustUnderstandSoapException.cs (1)
54headers.Add(new NotUnderstoodHeader(notUnderstoodHeaders[i].Name, notUnderstoodHeaders[i].Namespace));
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
171this.Headers.Add(this.securityHeader);
System\ServiceModel\Transactions\OletxTransactionFormatter.cs (1)
34message.Headers.Add(header);
System\ServiceModel\Transactions\WsatTransactionFormatter.cs (1)
67message.Headers.Add(header);
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (1)
119headers.Add(new WSAddressing10ProblemHeaderQNameHeader(this.invalidHeaderName));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
128message.Headers.Add(header);
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryOperationContext.cs (1)
120outgoingMessageHeaders.Add(addrHeader.ToMessageHeader());
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\SoapProcessingBehavior.cs (1)
343targetHeaders.Add(messageHeader);