39 references to TransportPolicyConstants
dotnet-svcutil-lib (39)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CompositeDuplexBindingElementImporter.cs (2)
30
TransportPolicyConstants
.CompositeDuplex,
TransportPolicyConstants
.CompositeDuplexNamespace, true);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (2)
167
if (PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(),
TransportPolicyConstants
.StreamedName,
TransportPolicyConstants
.DotNetFramingNamespace, true) != null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (8)
389
return
TransportPolicyConstants
.WebSocketTransportUri;
392
return
TransportPolicyConstants
.HttpTransportUri;
503
if (assertion.NamespaceURI !=
TransportPolicyConstants
.HttpTransportNamespace)
510
case
TransportPolicyConstants
.BasicHttpAuthenticationName:
513
case
TransportPolicyConstants
.DigestHttpAuthenticationName:
516
case
TransportPolicyConstants
.NegotiateHttpAuthenticationName:
519
case
TransportPolicyConstants
.NtlmHttpAuthenticationName:
543
if (assertion.NamespaceURI !=
TransportPolicyConstants
.WebSocketPolicyNamespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (10)
141
TransportPolicyConstants
.SslTransportSecurityName,
TransportPolicyConstants
.DotNetFramingNamespace, true);
150
TransportPolicyConstants
.RequireClientCertificateName,
151
TransportPolicyConstants
.DotNetFramingNamespace);
167
document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
168
TransportPolicyConstants
.SslTransportSecurityName,
169
TransportPolicyConstants
.DotNetFramingNamespace);
172
assertion.AppendChild(document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
173
TransportPolicyConstants
.RequireClientCertificateName,
174
TransportPolicyConstants
.DotNetFramingNamespace));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (5)
147
case
TransportPolicyConstants
.HttpTransportUri:
150
case
TransportPolicyConstants
.TcpTransportUri:
153
case
TransportPolicyConstants
.NamedPipeTransportUri:
156
case
TransportPolicyConstants
.PeerTransportUri:
158
case
TransportPolicyConstants
.WebSocketTransportUri:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (12)
100
TransportPolicyConstants
.WindowsTransportSecurityName,
TransportPolicyConstants
.DotNetFramingNamespace, true);
111
TransportPolicyConstants
.ProtectionLevelName,
112
TransportPolicyConstants
.DotNetFramingNamespace) && !reader.IsEmptyElement)
119
string.Format(SRServiceModel.ExpectedElementMissing,
TransportPolicyConstants
.ProtectionLevelName,
TransportPolicyConstants
.DotNetFramingNamespace)));
132
document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
133
TransportPolicyConstants
.WindowsTransportSecurityName,
134
TransportPolicyConstants
.DotNetFramingNamespace);
135
XmlElement protectionLevelElement = document.CreateElement(
TransportPolicyConstants
.DotNetFramingPrefix,
136
TransportPolicyConstants
.ProtectionLevelName,
TransportPolicyConstants
.DotNetFramingNamespace);