PollingDuplexHttpBinding.Security Property

Gets the type of security used with this binding.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)


Public ReadOnly Property Security As PollingDuplexHttpSecurity
public PollingDuplexHttpSecurity Security { get; }

Property Value

Type: System.ServiceModel.PollingDuplexHttpSecurity
The PollingDuplexHttpSecurity that is used with this binding. The default value is None.


By default, the SOAP message is not secured and the client is not authenticated. To use a non-default type of security, use the PollingDuplexHttpBinding(PollingDuplexHttpSecurityMode) constructor or set the type of security for an existing binding using the Mode property.

Version Information


Supported in: 5, 4, 3


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.