21 references to MetadataPolicy
System.ServiceModel (21)
System\ServiceModel\Description\WsdlExporter.cs (12)
469
nameTable.Add(MetadataStrings.Addressing10.
MetadataPolicy
.Addressing);
470
nameTable.Add(MetadataStrings.Addressing10.
MetadataPolicy
.AnonymousResponses);
471
nameTable.Add(MetadataStrings.Addressing10.
MetadataPolicy
.NonAnonymousResponses);
652
addressingAssertion = XmlDoc.CreateElement(MetadataStrings.Addressing10.
MetadataPolicy
.Prefix,
653
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing,
654
MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri);
672
responsesAssertionLocalName = MetadataStrings.Addressing10.
MetadataPolicy
.AnonymousResponses;
676
responsesAssertionLocalName = MetadataStrings.Addressing10.
MetadataPolicy
.NonAnonymousResponses;
683
XmlElement responsesAssertion = XmlDoc.CreateElement(MetadataStrings.Addressing10.
MetadataPolicy
.Prefix,
685
MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri);
930
namespaces.Add(MetadataStrings.Addressing10.
MetadataPolicy
.Prefix, MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri);
System\ServiceModel\Description\WsdlImporter.cs (9)
1113
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing,
1114
MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri, true /*remove*/) != null)
1134
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing, MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri, false);
1150
string message = SR.GetString(SR.ElementRequired, MetadataStrings.Addressing10.
MetadataPolicy
.Prefix,
1151
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing, MetadataStrings.WSPolicy.Prefix,
1163
if (element.NamespaceURI == MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri)
1165
if (element.LocalName == MetadataStrings.Addressing10.
MetadataPolicy
.NonAnonymousResponses)
1169
else if (element.LocalName == MetadataStrings.Addressing10.
MetadataPolicy
.AnonymousResponses)