Freigeben über


HttpSelfHostConfiguration.OnConfigureBinding Method

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

'Declaration
Protected Overridable Function OnConfigureBinding ( _
    httpBinding As HttpBinding _
) As BindingParameterCollection
'Usage
Dim httpBinding As HttpBinding
Dim returnValue As BindingParameterCollection

returnValue = Me.OnConfigureBinding(httpBinding)
protected virtual BindingParameterCollection OnConfigureBinding(
    HttpBinding httpBinding
)
protected:
virtual BindingParameterCollection^ OnConfigureBinding(
    HttpBinding^ httpBinding
)
abstract OnConfigureBinding : 
        httpBinding:HttpBinding -> BindingParameterCollection 
override OnConfigureBinding : 
        httpBinding:HttpBinding -> BindingParameterCollection 
protected function OnConfigureBinding(
    httpBinding : HttpBinding
) : 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

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace