42 references to Headers
System.ServiceModel (40)
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (2)
315
foreach (MessageHeaderDescription header in message.
Headers
)
437
foreach (MessageHeaderDescription header in message.
Headers
)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
91
foreach (MessageHeaderDescription header in message.
Headers
)
System\ServiceModel\Description\MessageContractExporter.cs (4)
694
foreach (MessageHeaderDescription header in message.
Headers
)
937
if (description.
Headers
.Count > 0)
942
foreach (MessageHeaderDescription header in description.
Headers
)
1072
if (description.
Headers
.Count > 0)
System\ServiceModel\Description\MessageContractImporter.cs (2)
1443
if (!description.
Headers
.Contains(this.CurrentSchemaImporter.GetPartName(part)))
1445
description.
Headers
.Add((MessageHeaderDescription)schemaImporter.ImportMessagePart(part, true/*isHeader*/, isEncoded));
System\ServiceModel\Description\OperationGenerator.cs (4)
331
foreach (MessageHeaderDescription setting in message.
Headers
)
363
return (message.Body.Parts.Count == 0 && message.
Headers
.Count == 0);
928
if (parent.Request.
Headers
.Count > 0)
938
if (!parent.Oneway && parent.Response.
Headers
.Count > 0)
System\ServiceModel\Description\ServiceContractGenerator.cs (7)
691
if (x.
Headers
.Count != y.
Headers
.Count)
694
MessageHeaderDescription[] xHeaders = new MessageHeaderDescription[x.
Headers
.Count];
695
x.
Headers
.CopyTo(xHeaders, 0);
696
MessageHeaderDescription[] yHeaders = new MessageHeaderDescription[y.
Headers
.Count];
697
y.
Headers
.CopyTo(yHeaders, 0);
698
if (x.
Headers
.Count > 1)
System\ServiceModel\Description\TypeLoader.cs (3)
1135
for (int i = 0; i < messageDescription.
Headers
.Count; i++)
1137
MessageHeaderDescription header = messageDescription.
Headers
[i];
1354
AddSortedParts<MessageHeaderDescription>(headerPartDescriptionList, messageDescription.
Headers
);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
320
foreach (MessageHeaderDescription header in message.
Headers
)
446
foreach (MessageHeaderDescription header in message.
Headers
)
565
int headerCount = message.
Headers
.Count;
576
MessageHeaderDescription header = message.
Headers
[i];
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
125
foreach (MessageHeaderDescription header in message.
Headers
)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
129
messageInfo.HeaderParts = new PartInfo[messageDescription.
Headers
.Count];
130
for (int i = 0; i < messageDescription.
Headers
.Count; i++)
132
MessageHeaderDescription headerDescription = messageDescription.
Headers
[i];
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
574
members = new MemberInfo[description.Body.Parts.Count + description.Properties.Count + description.
Headers
.Count];
576
foreach (MessagePartDescription part in description.
Headers
)
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
299
if (requestMessage.
Headers
.Count > 0)
307
if (responseMessage.
Headers
.Count > 0)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
465
foreach (MessageHeaderDescription header in message.
Headers
)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
71
foreach (MessageHeaderDescription headerDescription in messageDescription.
Headers
)
225
foreach (MessageHeaderDescription headerDescription in messageDescription.
Headers
)
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (1)
99
if ((message.Body.Parts.Count == 0) && (message.
Headers
.Count == 0))
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
260
foreach (MessageHeaderDescription header in message.
Headers
)
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\ContractValidationHelper.cs (1)
270
if (targetMessage.
Headers
.Count > 0)
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebHttpBehavior.cs (1)
1284
if (md.
Headers
.Count != 0)