System.ServiceModel.Channel ...


.NET Framework Class Library for Silverlight
PollingDuplexBindingElement Class

Represents the binding element that enables duplex communication between a Silverlight version 3 client and a service.

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

Visual Basic (Declaration)
Public Class PollingDuplexBindingElement _
    Inherits BindingElement
Visual Basic (Usage)
Dim instance As PollingDuplexBindingElement
C#
public class PollingDuplexBindingElement : BindingElement
Remarks

In duplex communication, either party can initiate a message exchange. As with non-duplex communication, the client can send a request to the service and receive an optional reply. But with duplex communication, the service itself can initiate communications by sending a message to the client at any time. This is useful in applications where data must be pushed to the client when it is updated on the server.

Windows Communication Foundation (WCF) supports several types of duplex bindings. The PollingDuplexBindingElement is an element of the PollingDuplexHttpBinding that is specifically intended to establish communications with clients like Silverlight 3, where traditional duplex transport protocols like TCP are not available and where the client cannot accept new incoming connections. The PollingDuplexHttpBinding is the only duplex binding available to use with Silverlight 3 clients.

Inheritance Hierarchy

System..::.Object
  System.ServiceModel.Channels..::.BindingElement
    System.ServiceModel.Channels..::.PollingDuplexBindingElement
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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

See Also

Reference

Tags :


Page view tracker