WSHttpBinding Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the WSHttpBinding class with a binding specified by its configuration name.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- configName
-
Type:
System::String^
The binding configuration name for the WSHttpBindingElement.
| Exception | Condition |
|---|---|
| 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.
.NET Framework
Available since 3.0
Available since 3.0
Show: