1 write to PolicyVersion
System.ServiceModel (1)
System\ServiceModel\Configuration\ServiceMetadataPublishingElement.cs (1)
121
behavior.MetadataExporter.
PolicyVersion
= this.PolicyVersion;
15 references to PolicyVersion
System.ServiceModel (15)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (1)
351
metadataExporterInstance.SetProperty(AdministrationStrings.PolicyVersion, exporter.
PolicyVersion
.ToString());
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
773
exporter.
PolicyVersion
.Namespace);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
618
XmlElement assertion = settings.CreateReliabilityAssertion(exporter.
PolicyVersion
, bindingElements);
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (3)
430
TransactionPolicyStrings.OleTxTransactionsNamespace, exporter.
PolicyVersion
.Namespace);
436
TransactionPolicyStrings.WsatTransactionsNamespace10, exporter.
PolicyVersion
.Namespace);
442
TransactionPolicyStrings.WsatTransactionsNamespace11, exporter.
PolicyVersion
.Namespace);
System\ServiceModel\Description\MessageContractExporter.cs (2)
221
WsdlExporter.WSAddressingHelper.AddActionAttribute(fault.Action, operationFault, this.exporter.
PolicyVersion
);
1156
WsdlExporter.WSAddressingHelper.AddActionAttribute(fault.Action, operationFault, this.exporter.
PolicyVersion
);
System\ServiceModel\Description\WsdlExporter.cs (5)
218
new WSPolicyAttachmentHelper(this.
PolicyVersion
).AttachPolicy(endpoint, endpointContext, policyContext);
290
WSAddressingHelper.AddActionAttribute(message.Action, wsdlOperationMessage, this.
PolicyVersion
);
303
WSAddressingHelper.AddActionAttribute(fault.Action, wsdlOperationFault, this.
PolicyVersion
);
491
XmlSerializerNamespaces namespaces = new XmlSerializerNamespaces(new WsdlNamespaceHelper(this.
PolicyVersion
).SerializerNamespaces);
644
if (exporter.
PolicyVersion
== PolicyVersion.Policy12)
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
241
XmlElement result = doc.CreateElement(WspPrefix, PolicyName, exporter.
PolicyVersion
.Namespace);
1905
result.SetAttribute(OptionalName, exporter.
PolicyVersion
.Namespace, TrueName);