4 instantiations of WebHttpBinding
System.ServiceModel.Web (4)
System\ServiceModel\Configuration\WebHttpBindingCollectionElement.cs (1)
16
return new
WebHttpBinding
();
System\ServiceModel\Description\WebServiceEndpoint.cs (1)
17
: base(contract, new
WebHttpBinding
(), address)
System\ServiceModel\Web\WebChannelFactory.cs (2)
91
return new
WebHttpBinding
();
95
WebHttpBinding result = new
WebHttpBinding
();
30 references to WebHttpBinding
System.ServiceModel.Web (30)
System\ServiceModel\Configuration\WebHttpBindingCollectionElement.cs (2)
11
public partial class WebHttpBindingCollectionElement : StandardBindingCollectionElement<
WebHttpBinding
, WebHttpBindingElement>
25
return (WebHttpBindingCollectionElement)bindings[
WebHttpBinding
.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName];
System\ServiceModel\Configuration\WebHttpBindingElement.cs (5)
151
get { return typeof(
WebHttpBinding
); }
184
WebHttpBinding
webBinding = (
WebHttpBinding
)binding;
237
WebHttpBinding
webBinding = (
WebHttpBinding
)binding;
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\Description\WebServiceEndpoint.cs (4)
84
WebHttpBinding
webHttpBinding
88
WebHttpBinding
webHttpBinding = this.Binding as
WebHttpBinding
;
91
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WebHttpBindingNotFoundWithEndpoint, WebEndpointType.Name, typeof(
WebHttpBinding
).Name)));
System\ServiceModel\Web\WebChannelFactory.cs (1)
95
WebHttpBinding
result = new WebHttpBinding();
System\ServiceModel\Web\WebServiceHost.cs (6)
21
static readonly Type WebHttpBindingType = typeof(
WebHttpBinding
);
126
string.Equals(protocolMappingItem.Binding,
WebHttpBinding
.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
136
WebHttpBinding
binding = automaticEndpoint.Binding as
WebHttpBinding
;
348
WebHttpBinding
whb = serviceEndpoint.Binding as
WebHttpBinding
;