WebHttpBinding Constructor (String)

 

Initializes a new instance of the WebHttpBinding class with a binding specified by its configuration name.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public WebHttpBinding(
	string configurationName
)

Parameters

configurationName
Type: System.String

The binding configuration name for the WebHttpBindingElement.

Exception Condition
ConfigurationErrorsException

The binding element with the name configurationName was not found.

.NET Framework
Available since 3.5
Return to top
Show: