PollingDuplexBindingElement Class Home
This page is specific to:Microsoft Version:Silverlight 3
.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

'Usage

Dim instance As PollingDuplexBindingElement

'Declaration

Public Class PollingDuplexBindingElement _
    Inherits 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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View