Share via


HttpSelfHostConfiguration.OnConfigureBinding Method (HttpBinding)

 

Called to apply the configuration on the endpoint level.

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

Syntax

protected virtual BindingParameterCollection OnConfigureBinding(
    HttpBinding httpBinding
)
protected:
virtual BindingParameterCollection^ OnConfigureBinding(
    HttpBinding^ httpBinding
)
abstract OnConfigureBinding : 
        httpBinding:HttpBinding -> BindingParameterCollection
override OnConfigureBinding : 
        httpBinding:HttpBinding -> BindingParameterCollection
Protected Overridable Function OnConfigureBinding (
    httpBinding As HttpBinding
) As BindingParameterCollection

Parameters

Return Value

Type: System.ServiceModel.Channels.BindingParameterCollection

The BindingParameterCollection to use when building the IChannelListener or null if no binding parameters are present.

See Also

HttpSelfHostConfiguration Class
System.Web.Http.SelfHost Namespace

Return to top