Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WSHttpBinding Constructor (String)

WSHttpBinding Constructor (String)

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

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

public:
WSHttpBinding(
	String^ configName
)

Parameters

configName
Type: System::String

The binding configuration name for the WSHttpBindingElement.

ExceptionCondition
ConfigurationErrorsException

The binding element with the name configName was not found.

The following example shows how to initialize a new instance of the WSHttpBinding class with a string argument.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft