Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PollingDuplexHttpBinding Constructor (PollingDuplexMode)

Silverlight

Initializes a new instance of the PollingDuplexHttpBinding class with a specified mode of behavior on the server in response to client polling.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)
public PollingDuplexHttpBinding(
	PollingDuplexMode duplexMode
)

Parameters

duplexMode
Type: System.ServiceModel.Channels.PollingDuplexMode
The mode of behavior exhibited on a server in response to client polling when the communication between them is configured for duplex polling.

Use this constructor if you want to use a non-default value for the duplex mode. The default value used by the default constructor 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 used for the PollingDuplexHttpSecurityMode is None, which specifies that the SOAP message is not secured and the client is not authenticated.

Silverlight

Supported in: 5, 4

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.