Condividi tramite


PollingDuplexHttpSecurityMode Enumeration

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

Specifies the types of security that can be used with the system-provided PollingDuplexHttpBinding.

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

Syntax

'Declaration
Public Enumeration PollingDuplexHttpSecurityMode
public enum PollingDuplexHttpSecurityMode

Members

Member name Description
None The SOAP message is not secured during transfer. This is the default behavior.
Transport Security is provided using HTTPS. The service must be configured with SSL certificates. The SOAP message is protected as a whole using HTTPS. The service is authenticated by the client using the service’s SSL certificate.
TransportWithMessageCredential This mode provides integrity, confidentiality, and server authentication using HTTPS. The service must be configured with a certificate. Client authentication is provided by SOAP message security.This mode is applicable when the user is authenticating with a UserName or Certificate credential and there is an existing HTTPS deployment for securing message transfer.
TransportCredentialOnly This mode provides only HTTP-based client authentication. It does not provide message integrity or confidentiality.

Remarks

The default behavior for PollingDuplexHttpBinding is None. To specify another value, use the PollingDuplexBindingElement(PollingDuplexBindingElement) constructor.

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.

See Also

Reference