Share via


HttpBinding.CreateBindingElements Method

Creates a collection that contains the binding elements that are part of the current binding.

Namespace:  System.Web.Http.SelfHost.Channels
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Overrides Function CreateBindingElements As BindingElementCollection
'Usage
Dim instance As HttpBinding
Dim returnValue As BindingElementCollection

returnValue = instance.CreateBindingElements()
public override BindingElementCollection CreateBindingElements()
public:
virtual BindingElementCollection^ CreateBindingElements() override
abstract CreateBindingElements : unit -> BindingElementCollection 
override CreateBindingElements : unit -> BindingElementCollection 
public override function CreateBindingElements() : BindingElementCollection

Return Value

Type: System.ServiceModel.Channels.BindingElementCollection
A collection that contains the binding elements from the current binding object in the correct order.

See Also

Reference

HttpBinding Class

System.Web.Http.SelfHost.Channels Namespace