CustomBinding Constructor (String, String, BindingElement[])

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.

Namespace:  System.ServiceModel.Channels
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.

ExceptionCondition
ArgumentNullException

bindingElementsInTopDownChannelStackOrder is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft