WebHttpBindingElement.Security Property


Gets the configuration element that contains the security settings used with this binding.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public WebHttpSecurityElement Security { get; }

Property Value

Type: System.ServiceModel.Configuration.WebHttpSecurityElement

The WebHttpSecurityElement that is used with this binding. The default value is None.

To use a non-default type of security, use the WebHttpBinding(WebHttpSecurityMode) constructor.

.NET Framework
Available since 3.5
Return to top