Printer Friendly Version      Send     
Click to Rate and Give Feedback
.NET Framework Class Library for Silverlight
PollingDuplexHttpBinding Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents a binding that a Silverlight version 2 Beta 2 client can use to configure endpoints that can communicate with Windows Communication Foundation (WCF) services that are similarly configured for duplex communication with a polling client.

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

Visual Basic (Declaration)
Public Class PollingDuplexHttpBinding _
    Inherits BasicHttpBinding
Visual Basic (Usage)
Dim instance As PollingDuplexHttpBinding
C#
public class PollingDuplexHttpBinding : BasicHttpBinding
Visual C++
public ref class PollingDuplexHttpBinding : public BasicHttpBinding
JScript
public class PollingDuplexHttpBinding extends BasicHttpBinding

Security is turned off by default, but can be added setting the BasicHttpSecurityMode to a value other than None in the #ctor(BasicHttpSecurityMode) constructor. It uses a "Text" message encoding and UTF-8 text encoding by default.

The following file shows an example of how to configure a Silverlight client application for a SilverlightApplication1.ServiceReference1.IService1 contract with a PollingDuplexHttpBinding to access a Web service at http://localhost/webservice/Service1.svc. The client configuration file must be named ServiceReferences.ClientConfig.

System..::.Object
  System.ServiceModel.Channels..::.Binding
    System.ServiceModel..::.BasicHttpBinding
      System.ServiceModel..::.PollingDuplexHttpBinding
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker