2 instantiations of PolicyVersion
System.ServiceModel (2)
System\ServiceModel\Description\PolicyVersion.cs (2)
19
policyVersion12 = new
PolicyVersion
(MetadataStrings.WSPolicy.NamespaceUri);
20
policyVersion15 = new
PolicyVersion
(MetadataStrings.WSPolicy.NamespaceUri15);
32 references to PolicyVersion
System.ServiceModel (32)
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (2)
624
static XmlElement CreatePolicyElement(
PolicyVersion
policyVersion, XmlDocument doc)
633
XmlElement CreateReliabilityAssertion(
PolicyVersion
policyVersion, BindingElementCollection bindingElements)
System\ServiceModel\Configuration\PolicyVersionConverter.cs (12)
39
PolicyVersion
retval = null;
43
retval =
PolicyVersion
.Policy12;
46
retval =
PolicyVersion
.Policy15;
49
retval =
PolicyVersion
.Default;
53
SR.GetString(SR.ConfigInvalidClassFactoryValue, policyVersion, typeof(
PolicyVersion
).FullName)));
62
if (typeof(string) == destinationType && value is
PolicyVersion
)
65
PolicyVersion
policyVersion = (
PolicyVersion
)value;
66
if (policyVersion ==
PolicyVersion
.Default)
70
else if (policyVersion ==
PolicyVersion
.Policy12)
74
else if (policyVersion ==
PolicyVersion
.Policy15)
81
SR.GetString(SR.ConfigInvalidClassInstanceValue, typeof(
PolicyVersion
).FullName)));
System\ServiceModel\Configuration\Properties.cs (1)
3322
properties.Add(new ConfigurationProperty("policyVersion", typeof(System.ServiceModel.Description.
PolicyVersion
), "Default", new System.ServiceModel.Configuration.PolicyVersionConverter(), null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ServiceMetadataPublishingElement.cs (2)
87
public
PolicyVersion
PolicyVersion
89
get { return (
PolicyVersion
)base[ConfigurationStrings.PolicyVersion]; }
System\ServiceModel\Description\MetadataExporter.cs (3)
15
PolicyVersion
policyVersion =
PolicyVersion
.Policy12;
24
public
PolicyVersion
PolicyVersion
System\ServiceModel\Description\PolicyVersion.cs (5)
14
static
PolicyVersion
policyVersion12;
15
static
PolicyVersion
policyVersion15;
28
public static
PolicyVersion
Policy12 { get { return policyVersion12; } }
29
public static
PolicyVersion
Policy15 { get { return policyVersion15; } }
30
public static
PolicyVersion
Default { get { return policyVersion12; } }
System\ServiceModel\Description\WsdlExporter.cs (7)
575
internal static void AddActionAttribute(string actionUri, WsdlNS.OperationMessage wsdlOperationMessage,
PolicyVersion
policyVersion)
578
if (policyVersion ==
PolicyVersion
.Policy12)
644
if (exporter.PolicyVersion ==
PolicyVersion
.Policy12)
712
PolicyVersion
policyVersion;
713
internal WSPolicyAttachmentHelper(
PolicyVersion
policyVersion)
914
PolicyVersion
policyVersion;
944
internal WsdlNamespaceHelper(
PolicyVersion
policyVersion)