15 references to WebHttpBindingConfigurationStrings
System.ServiceModel.Web (15)
System\ServiceModel\Configuration\WebHttpBindingCollectionElement.cs (1)
25
return (WebHttpBindingCollectionElement)bindings[WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName];
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (6)
183
channelEndpointElement.Binding = WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName;
185
else if (!string.Equals(channelEndpointElement.Binding, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
187
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.WebEndpointRequiredBinding, typeof(WebHttpEndpoint).Name, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName)));
195
serviceEndpointElement.Binding = WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName;
197
else if (!string.Equals(serviceEndpointElement.Binding, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
199
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.WebEndpointRequiredBinding, typeof(WebHttpEndpoint).Name, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName)));
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (6)
150
channelEndpointElement.Binding = WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName;
152
else if (!string.Equals(channelEndpointElement.Binding, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
154
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.WebEndpointRequiredBinding, typeof(WebScriptEndpoint).Name, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName)));
162
serviceEndpointElement.Binding = WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName;
164
else if (!string.Equals(serviceEndpointElement.Binding, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
166
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.WebEndpointRequiredBinding, typeof(WebScriptEndpoint).Name, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName)));
System\ServiceModel\Web\WebServiceHost.cs (1)
126
string.Equals(protocolMappingItem.Binding, WebHttpBinding.
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
System\ServiceModel\WebHttpBinding.cs (1)
238
WebHttpBindingConfigurationStrings
.WebHttpBindingCollectionElementName)));