22 references to FindHeader
System.ServiceModel (21)
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
109
if (message.Headers.
FindHeader
(CallbackContextMessageHeader.CallbackContextHeaderName, CallbackContextMessageHeader.CallbackContextHeaderNamespace) != -1)
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
55
int i = message.Headers.
FindHeader
(ContextHeaderName, ContextHeaderNamespace);
System\ServiceModel\Channels\MessageHeaders.cs (1)
852
int index =
FindHeader
(name, ns);
System\ServiceModel\Channels\OneWayChannelFactory.cs (2)
23
int index = message.Headers.
FindHeader
(DotNetOneWayStrings.HeaderName, DotNetOneWayStrings.Namespace);
45
int index = message.Headers.
FindHeader
(
System\ServiceModel\Channels\PeerFlooder.cs (1)
320
index = message.Headers.
FindHeader
(PeerStrings.HopCountElementName, PeerStrings.HopCountElementNamespace);
System\ServiceModel\Channels\PeerHelpers.cs (3)
320
int index = headers.
FindHeader
(name, ns);
358
int index = headers.
FindHeader
(name, ns);
782
int i = message.Headers.
FindHeader
(SecurityJan2004Strings.Security, SecurityJan2004Strings.Namespace);
System\ServiceModel\Channels\PeerNodeImplementation.cs (5)
348
if (-1 != message.Headers.
FindHeader
(PeerStrings.MessageId, PeerStrings.Namespace))
350
if (-1 != message.Headers.
FindHeader
(PeerOperationNames.PeerTo, PeerStrings.Namespace))
352
if (-1 != message.Headers.
FindHeader
(PeerOperationNames.PeerVia, PeerStrings.Namespace))
454
int i = msg.Headers.
FindHeader
(SecurityJan2004Strings.Security, SecurityJan2004Strings.Namespace);
1482
int i = localCopy.Headers.
FindHeader
(SecurityJan2004Strings.Security, SecurityJan2004Strings.Namespace);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
157
int i = request.Headers.
FindHeader
(SecurityJan2004Strings.Security, SecurityJan2004Strings.Namespace);
System\ServiceModel\Channels\ServiceContextProtocol.cs (1)
38
int headerIndex = message.Headers.
FindHeader
(CallbackContextMessageHeader.CallbackContextHeaderName, CallbackContextMessageHeader.CallbackContextHeaderNamespace);
System\ServiceModel\Security\SecurityVersion.cs (1)
100
return message.Headers.
FindHeader
(this.HeaderName.Value, this.HeaderNamespace.Value) >= 0;
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
609
int headerIndex = this.Message.Headers.
FindHeader
(XD.AddressingDictionary.To.Value, this.Message.Version.Addressing.Namespace);
System\ServiceModel\Transactions\OletxTransactionHeader.cs (1)
82
index = message.Headers.
FindHeader
(OleTxHeaderElement, OleTxNamespace);
System\ServiceModel\Transactions\WsatRegistrationHeader.cs (1)
99
index = message.Headers.
FindHeader
(HeaderName, HeaderNamespace);
System\ServiceModel\Transactions\WsatTransactionHeader.cs (1)
71
index = message.Headers.
FindHeader
(locWsatHeaderElement, locWsatNamespace);
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\DelegatingHeader.cs (1)
33
this.index = this.originalHeaders.
FindHeader
(this.info.Name, this.info.Namespace);