CustomBinding Constructor (String, String, BindingElement())
[ 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 an array of binding elements with a specified name and namespace.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Sub New ( _ name As String, _ ns As String, _ ParamArray bindingElementsInTopDownChannelStackOrder As BindingElement() _ )
Parameters
- name
- Type: System.String
The name of the binding.
- ns
- Type: System.String
The namespace of the binding.
- bindingElementsInTopDownChannelStackOrder
- Type:
System.ServiceModel.Channels.BindingElement
()
The Array of type BindingElement used to initialize the custom binding.
| Exception | Condition |
|---|---|
| ArgumentNullException | bindingElementsInTopDownChannelStackOrder is Nothing. |
Show: