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