CustomBinding Constructor (Binding)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the CustomBinding class from the values of a specified binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- binding
- Type: System.ServiceModel.Channels.Binding
The Binding that is used to initialize the custom binding.
| Exception | Condition |
|---|---|
| ArgumentNullException | binding is null. |
Show: