20 references to Policy
System.ServiceModel (20)
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
626
string policy = MetadataStrings.WSPolicy.Elements.
Policy
;
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (3)
335
string policyLocalName = MetadataStrings.WSPolicy.Elements.
Policy
;
347
MetadataStrings.WSPolicy.Elements.
Policy
)
350
MetadataStrings.WSPolicy.Elements.
Policy
, node.LocalName, node.NamespaceURI);
System\ServiceModel\Description\MetadataSection.cs (2)
96
SR.GetString(SR.SFxBadMetadataMustBePolicy, MetadataStrings.WSPolicy.NamespaceUri, MetadataStrings.WSPolicy.Elements.
Policy
, policy.NamespaceURI, policy.LocalName));
142
&& policy.LocalName == MetadataStrings.WSPolicy.Elements.
Policy
;
System\ServiceModel\Description\PolicyReader.cs (1)
253
else if (currentElement.LocalName == MetadataStrings.WSPolicy.Elements.
Policy
)
System\ServiceModel\Description\WsdlExporter.cs (3)
462
nameTable.Add(MetadataStrings.WSPolicy.Elements.
Policy
);
680
MetadataStrings.WSPolicy.Elements.
Policy
,
847
MetadataStrings.WSPolicy.Elements.
Policy
,
System\ServiceModel\Description\WsdlHelper.cs (1)
156
IEnumerable<XmlElement> bindingPolicies = FindAllElements(wsdl.Extensions, MetadataStrings.WSPolicy.Elements.
Policy
);
System\ServiceModel\Description\WsdlImporter.cs (8)
1152
MetadataStrings.WSPolicy.Elements.
Policy
);
1367
nameTable.Add(MetadataStrings.WSPolicy.Elements.
Policy
);
1458
MetadataStrings.WSPolicy.Elements.
Policy
,
2084
embeddedPolicies.AddRange(item.Extensions.FindAll(MetadataStrings.WSPolicy.Elements.
Policy
,
2086
embeddedPolicies.AddRange(item.Extensions.FindAll(MetadataStrings.WSPolicy.Elements.
Policy
,
2187
if (item.Extensions.Find(MetadataStrings.WSPolicy.Elements.
Policy
, MetadataStrings.WSPolicy.NamespaceUri) != null
2188
|| item.Extensions.Find(MetadataStrings.WSPolicy.Elements.
Policy
, MetadataStrings.WSPolicy.NamespaceUri15) != null)
2446
static readonly string wspPolicy = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.WSPolicy.Prefix, MetadataStrings.WSPolicy.Elements.
Policy
);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
28
public const string PolicyName = MetadataStrings.WSPolicy.Elements.
Policy
; //"Policy";