18 references to Add
Client.ClientBase.IntegrationTests (1)
ClientBaseTests.4.0.0.cs (1)
783OperationContext.Current.OutgoingMessageHeaders.Add(header);
Contract.XmlSerializer.IntegrationTests (1)
XmlSerializerFormatTest.4.1.0.cs (1)
91OperationContext.Current.OutgoingMessageHeaders.Add(header);
dotnet-svcutil.xmlserializer.IntegrationTests (1)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (1)
91OperationContext.Current.OutgoingMessageHeaders.Add(header);
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
24msg.Headers.Add(MessageHeader.CreateHeader("ByPass", "urn:InterceptorNamespace", "ByPassPassword"));
System.ServiceModel.Primitives (12)
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
71message.Headers.Add(this[i].ToMessageHeader());
System\ServiceModel\Channels\WsrmFault.cs (1)
381message.Headers.Add(header);
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (1)
112message.Headers.Add(this);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
214headers.Add(new XmlElementMessageHeader(this, messageVersion, xmlElement.LocalName, xmlElement.NamespaceURI, mustUnderstand, actor, relay, xmlElement)); 217headers.Add(new DataContractSerializerMessageHeader(headerPart, valueToSerialize, mustUnderstand, actor, relay));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (3)
104message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 119message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 131message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
System\ServiceModel\MustUnderstandSoapException.cs (1)
52headers.Add(new NotUnderstoodHeader(NotUnderstoodHeaders[i].Name, NotUnderstoodHeaders[i].Namespace));
System\ServiceModel\Security\SecurityAppliedMessage.cs (2)
183Headers.Add(_securityHeader); 242Headers.Add(_securityHeader);
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (1)
115headers.Add(new WSAddressing10ProblemHeaderQNameHeader(_invalidHeaderName));
System.ServiceModel.Primitives.Tests (2)
Channels\UnderstoodHeadersTest.cs (2)
29requestMessage.Headers.Add(customHeaderAlpha); 30requestMessage.Headers.Add(customHeaderBravo);