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