Поделиться через


PollingDuplexHttpBinding.Security Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the type of security used with this binding.

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

Syntax

'Declaration
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.

Remarks

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

Silverlight

Supported in: 5, 4, 3

Platforms

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