85 references to TransportPolicyConstants
System.ServiceModel (85)
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (3)
194
return doc.CreateElement(
TransportPolicyConstants
.CompositeDuplexPrefix,
TransportPolicyConstants
.CompositeDuplex,
TransportPolicyConstants
.CompositeDuplexNamespace);
System\ServiceModel\Channels\CompositeDuplexBindingElementImporter.cs (2)
30
TransportPolicyConstants
.CompositeDuplex,
TransportPolicyConstants
.CompositeDuplexNamespace, true);
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (5)
329
policyAssertions.Add(new XmlDocument().CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
330
TransportPolicyConstants
.StreamedName,
TransportPolicyConstants
.DotNetFramingNamespace));
356
if (PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(),
TransportPolicyConstants
.StreamedName,
TransportPolicyConstants
.DotNetFramingNamespace, true) != null)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (18)
476
return
TransportPolicyConstants
.WebSocketTransportUri;
479
return
TransportPolicyConstants
.HttpTransportUri;
743
assertionNames.Add(
TransportPolicyConstants
.NegotiateHttpAuthenticationName);
748
assertionNames.Add(
TransportPolicyConstants
.NtlmHttpAuthenticationName);
753
assertionNames.Add(
TransportPolicyConstants
.DigestHttpAuthenticationName);
758
assertionNames.Add(
TransportPolicyConstants
.BasicHttpAuthenticationName);
765
policyContext.GetBindingAssertions().Add(new XmlDocument().CreateElement(
TransportPolicyConstants
.HttpTransportPrefix,
766
assertionNames[0],
TransportPolicyConstants
.HttpTransportNamespace));
777
root.AppendChild(dummy.CreateElement(
TransportPolicyConstants
.HttpTransportPrefix,
779
TransportPolicyConstants
.HttpTransportNamespace));
790
policyContext.GetBindingAssertions().Add(new XmlDocument().CreateElement(
TransportPolicyConstants
.WebSocketPolicyPrefix,
791
this.TransferMode.ToString(),
TransportPolicyConstants
.WebSocketPolicyNamespace));
807
if (assertion.NamespaceURI !=
TransportPolicyConstants
.HttpTransportNamespace)
814
case
TransportPolicyConstants
.BasicHttpAuthenticationName:
817
case
TransportPolicyConstants
.DigestHttpAuthenticationName:
820
case
TransportPolicyConstants
.NegotiateHttpAuthenticationName:
823
case
TransportPolicyConstants
.NtlmHttpAuthenticationName:
847
if (assertion.NamespaceURI !=
TransportPolicyConstants
.WebSocketPolicyNamespace)
System\ServiceModel\Channels\MsmqBindingElementBase.cs (21)
301
return (PolicyConversionContext.FindAssertion(assertions, name,
TransportPolicyConstants
.MsmqTransportNamespace, true) != null);
322
TransportPolicyConstants
.MsmqTransportPrefix,
323
TransportPolicyConstants
.MsmqVolatile,
324
TransportPolicyConstants
.MsmqTransportNamespace));
330
TransportPolicyConstants
.MsmqTransportPrefix,
331
TransportPolicyConstants
.MsmqBestEffort,
332
TransportPolicyConstants
.MsmqTransportNamespace));
338
TransportPolicyConstants
.MsmqTransportPrefix,
339
TransportPolicyConstants
.MsmqSession,
340
TransportPolicyConstants
.MsmqTransportNamespace));
346
TransportPolicyConstants
.MsmqTransportPrefix,
347
TransportPolicyConstants
.MsmqAuthenticated,
348
TransportPolicyConstants
.MsmqTransportNamespace));
352
TransportPolicyConstants
.MsmqTransportPrefix,
353
TransportPolicyConstants
.MsmqWindowsDomain,
354
TransportPolicyConstants
.MsmqTransportNamespace));
371
if (FindAssertion(policyAssertions,
TransportPolicyConstants
.MsmqVolatile))
376
if (FindAssertion(policyAssertions,
TransportPolicyConstants
.MsmqBestEffort))
381
if (FindAssertion(policyAssertions,
TransportPolicyConstants
.MsmqSession))
386
if (FindAssertion(policyAssertions,
TransportPolicyConstants
.MsmqAuthenticated))
389
if (FindAssertion(policyAssertions,
TransportPolicyConstants
.MsmqWindowsDomain))
System\ServiceModel\Channels\MsmqTransportBindingElement.cs (1)
101
return
TransportPolicyConstants
.MsmqTransportUri;
System\ServiceModel\Channels\NamedPipeTransportBindingElement.cs (1)
84
return
TransportPolicyConstants
.NamedPipeTransportUri;
System\ServiceModel\Channels\PeerTransportBindingElement.cs (1)
185
exporter, endpointContext,
TransportPolicyConstants
.PeerTransportUri,
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (10)
173
TransportPolicyConstants
.SslTransportSecurityName,
TransportPolicyConstants
.DotNetFramingNamespace, true);
182
TransportPolicyConstants
.RequireClientCertificateName,
183
TransportPolicyConstants
.DotNetFramingNamespace);
199
document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
200
TransportPolicyConstants
.SslTransportSecurityName,
201
TransportPolicyConstants
.DotNetFramingNamespace);
204
assertion.AppendChild(document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
205
TransportPolicyConstants
.RequireClientCertificateName,
206
TransportPolicyConstants
.DotNetFramingNamespace));
System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
139
return
TransportPolicyConstants
.TcpTransportUri;
System\ServiceModel\Channels\TransportBindingElementImporter.cs (6)
149
case
TransportPolicyConstants
.HttpTransportUri:
152
case
TransportPolicyConstants
.TcpTransportUri:
155
case
TransportPolicyConstants
.NamedPipeTransportUri:
158
case
TransportPolicyConstants
.MsmqTransportUri:
161
case
TransportPolicyConstants
.PeerTransportUri:
166
case
TransportPolicyConstants
.WebSocketTransportUri:
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (12)
135
TransportPolicyConstants
.WindowsTransportSecurityName,
TransportPolicyConstants
.DotNetFramingNamespace, true);
146
TransportPolicyConstants
.ProtectionLevelName,
147
TransportPolicyConstants
.DotNetFramingNamespace) && !reader.IsEmptyElement)
154
SR.GetString(SR.ExpectedElementMissing,
TransportPolicyConstants
.ProtectionLevelName,
TransportPolicyConstants
.DotNetFramingNamespace)));
167
document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
168
TransportPolicyConstants
.WindowsTransportSecurityName,
169
TransportPolicyConstants
.DotNetFramingNamespace);
170
XmlElement protectionLevelElement = document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
171
TransportPolicyConstants
.ProtectionLevelName,
TransportPolicyConstants
.DotNetFramingNamespace);
System\ServiceModel\PeerSecuritySettings.cs (2)
83
TransportPolicyConstants
.PeerTransportUri, true);
133
TransportPolicyConstants
.PeerTransportUri);
System\ServiceModel\PeerTransportSecuritySettings.cs (2)
52
TransportPolicyConstants
.PeerTransportUri, true);
89
TransportPolicyConstants
.PeerTransportUri);