Export (0) Print
Expand All

PollingDuplexHttpBinding Constructor (PollingDuplexHttpSecurityMode)

Silverlight

Initializes a new instance of the PollingDuplexHttpBinding class with a specified type of security used by the binding.

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

public PollingDuplexHttpBinding(
	PollingDuplexHttpSecurityMode securityMode
)

Parameters

securityMode
Type: System.ServiceModel.PollingDuplexHttpSecurityMode
The value of PollingDuplexHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

Use this constructor if you want to use a non-default value for the security mode. The default value that used by the default constructor for the PollingDuplexHttpSecurityMode is None, which specifies that the SOAP message is not secured and the client is not authenticated. This constructor uses a default value for the PollingDuplexMode is SingleMessagesPerPoll(), which indicates that the server will return one message every time the client polls for a message and then close the polling connection. This constructor uses a default value for the security mode. The default value for the PollingDuplexHttpSecurityMode used by this constructor is None, which specifies that the SOAP message is not secured and the client is not authenticated.

Silverlight

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.

Community Additions

ADD
Show:
© 2014 Microsoft