PollingDuplexMode Enumeration


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 Enumeration 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.


Supported in: 5, 4

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

Community Additions