Share via


HttpBinding Constructor (HttpBindingSecurityMode)

Initializes a new instance of the HttpBinding class with a specified security mode.

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

Syntax

'Declaration
Public Sub New ( _
    securityMode As HttpBindingSecurityMode _
)
'Usage
Dim securityMode As HttpBindingSecurityMode

Dim instance As New HttpBinding(securityMode)
public HttpBinding(
    HttpBindingSecurityMode securityMode
)
public:
HttpBinding(
    HttpBindingSecurityMode securityMode
)
new : 
        securityMode:HttpBindingSecurityMode -> HttpBinding
public function HttpBinding(
    securityMode : HttpBindingSecurityMode
)

Parameters

See Also

Reference

HttpBinding Class

HttpBinding Overload

System.Web.Http.SelfHost.Channels Namespace