Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PollingDuplexMode Enumeration

Silverlight

Specifies the format of server responses to client polling when the communication is configured for duplex polling.

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

public enum PollingDuplexMode

Member nameDescription
SingleMessagePerPollSpecifies the server will return one message every time the client polls for a message and then close the polling connection. This is the default value.
MultipleMessagesPerPollSpecifies the server keeps the connection open for as long there are messages ready to be sent back to the client and sends as many messages back to the client as it can over a chunked HTTP response.

If the value of the DuplexMode property or of the DuplexMode property is set to MultipleMessagesPerPoll, it is required that TransferMode in the underlying HttpTransportBindingElement be set to StreamedResponse.

This enumeration is used in the PollingDuplexBindingElement and the PollingDuplexHttpBinding. The default value in both cases is SingleMessagesPerPoll().

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft