PollingDuplexHttpBinding Constructor (PollingDuplexHttpSecurityMode, PollingDuplexMode)
Initializes a new instance of the PollingDuplexHttpBinding class with a specified type of security and a specified mode of behavior on the server in the way it responses to client polling.
Assembly: System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)
public PollingDuplexHttpBinding( PollingDuplexHttpSecurityMode securityMode, PollingDuplexMode duplexMode )
- 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.
- 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 non-default values for the security and polling modes. The default value of PollingDuplexHttpSecurityMode is None, which specifies that the SOAP message is not secured and the client is not authenticated. The default value of PollingDuplexMode used by this constructor is , which indicates that the server will return one message every time the client polls for a message and then close the polling connection.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.