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
- securityMode
Type: System.Web.Http.SelfHost.Channels.HttpBindingSecurityMode
An HttpBindingSecurityMode value that specifies the type of security used to configure a service endpoint using the HttpBinding binding.