Show / Hide Table of Contents

Class PollingDuplexHttpBinding

Represents a binding that a Silverlight 5 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.

Inheritance
System.Object
System.ServiceModel.Channels.Binding
PollingDuplexHttpBinding
Implements
System.ServiceModel.IDefaultCommunicationTimeouts
Inherited Members
System.ServiceModel.Channels.Binding.BuildChannelFactory<TChannel>(System.Object[])
System.ServiceModel.Channels.Binding.BuildChannelFactory<TChannel>(System.ServiceModel.Channels.BindingParameterCollection)
System.ServiceModel.Channels.Binding.CanBuildChannelFactory<TChannel>(System.Object[])
System.ServiceModel.Channels.Binding.CanBuildChannelFactory<TChannel>(System.ServiceModel.Channels.BindingParameterCollection)
System.ServiceModel.Channels.Binding.GetProperty<T>(System.ServiceModel.Channels.BindingParameterCollection)
System.ServiceModel.Channels.Binding.CloseTimeout
System.ServiceModel.Channels.Binding.MessageVersion
System.ServiceModel.Channels.Binding.Name
System.ServiceModel.Channels.Binding.Namespace
System.ServiceModel.Channels.Binding.OpenTimeout
System.ServiceModel.Channels.Binding.ReceiveTimeout
System.ServiceModel.Channels.Binding.SendTimeout
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.ServiceModel.Channels
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public class PollingDuplexHttpBinding : Binding, IDefaultCommunicationTimeouts

Constructors

| Improve this Doc View Source

PollingDuplexHttpBinding()

Initializes a new instance of the PollingDuplexHttpBinding class.

Declaration
[NotImplemented]
public PollingDuplexHttpBinding()
| Improve this Doc View Source

PollingDuplexHttpBinding(PollingDuplexMode)

Initializes a new instance of the System.ServiceModel.PollingDuplexHttpBinding class with a specified mode of behavior on the server in response to client polling.

Declaration
[NotImplemented]
public PollingDuplexHttpBinding(PollingDuplexMode duplexMode)
Parameters
Type Name Description
PollingDuplexMode duplexMode

The mode of behavior exhibited on a server in response to client polling when the communication between them is configured for duplex polling.

| Improve this Doc View Source

PollingDuplexHttpBinding(PollingDuplexHttpSecurityMode)

Initializes a new instance of the PollingDuplexHttpBinding class with a specified type of security used by the binding.

Declaration
[NotImplemented]
public PollingDuplexHttpBinding(PollingDuplexHttpSecurityMode securityMode)
Parameters
Type Name Description
PollingDuplexHttpSecurityMode securityMode

The value of PollingDuplexHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

| Improve this Doc View Source

PollingDuplexHttpBinding(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.

Declaration
[NotImplemented]
public PollingDuplexHttpBinding(PollingDuplexHttpSecurityMode securityMode, PollingDuplexMode duplexMode)
Parameters
Type Name Description
PollingDuplexHttpSecurityMode securityMode

The value of PollingDuplexHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

PollingDuplexMode duplexMode

The mode of behavior exhibited on a server in response to client polling when the communication between them is configured for duplex polling.

Properties

| Improve this Doc View Source

DuplexMode

Gets or sets a value that specifies how the server behaves in response to client polling when the communication is configured for duplex polling.

Declaration
[NotImplemented]
public PollingDuplexMode DuplexMode { get; set; }
Property Value
Type Description
PollingDuplexMode

A PollingDuplexMode object whose value indicates how the server behaves in response to client polling when the communication is configured for duplex. The default value is SingleMessagePerPoll.

| Improve this Doc View Source

EnvelopeVersion

Gets the version of SOAP that is used for messages that are processed by this binding.

Declaration
[NotImplemented]
public EnvelopeVersion EnvelopeVersion { get; }
Property Value
Type Description
System.ServiceModel.EnvelopeVersion

The value of the EnvelopeVersion that is used with this binding. The value is always SOAP 1.2.

| Improve this Doc View Source

InactivityTimeout

Gets or sets the maximum interval of time that can pass without activity on a channel before the client or server channel enters a faulted state. The default value is 10 minutes.

Declaration
[NotImplemented]
public TimeSpan InactivityTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The System.TimeSpan value that specifies the maximum interval of time that can pass without activity on a channel before the channel enters a faulted state.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

The value is less than zero, or it is larger than the maximum time allowed.

| Improve this Doc View Source

MaxBufferSize

Gets or sets the maximum size for a buffer that receives messages from the channel.

Declaration
[NotImplemented]
public int MaxBufferSize { get; set; }
Property Value
Type Description
System.Int32

The maximum size, in bytes, of a buffer that stores messages while they are processed for an endpoint configured with this binding. The default value is 65,536 bytes.

| Improve this Doc View Source

MaxReceivedMessageSize

Gets or sets the maximum size for a message that can be received on a channel configured with this binding.

Declaration
[NotImplemented]
public long MaxReceivedMessageSize { get; set; }
Property Value
Type Description
System.Int64
Exceptions
Type Condition
System.ArgumentOutOfRangeException

The value is less than zero.

| Improve this Doc View Source

Scheme

Gets the URI transport scheme for the channels and listeners that are configured with this binding.

Declaration
[NotImplemented]
public override string Scheme { get; }
Property Value
Type Description
System.String

"https" if the security mode in the transport binding element is set to System.ServiceModel.BasicHttpSecurityMode.Transport or System.ServiceModel.BasicHttpSecurityMode.TransportWithMessageCredentials; otherwise, "http".

Overrides
System.ServiceModel.Channels.Binding.Scheme
| Improve this Doc View Source

Security

Gets the type of security used with this binding.

Declaration
[NotImplemented]
public PollingDuplexHttpSecurity Security { get; }
Property Value
Type Description
PollingDuplexHttpSecurity

The PollingDuplexHttpSecurity that is used with this binding. The default value is System.ServiceModel.BasicHttpSecurityMode.None.

| Improve this Doc View Source

TextEncoding

Gets or sets the character encoding that is used for the message text.

Declaration
[NotImplemented]
public Encoding TextEncoding { get; set; }
Property Value
Type Description
System.Text.Encoding

The System.Text.Encoding that indicates the character encoding that is used. The default is System.Text.UTF8Encoding.

| Improve this Doc View Source

UseTextEncoding

Gets or sets a value that indicates whether text or binary encoding is used for the message.

Declaration
[NotImplemented]
public bool UseTextEncoding { get; set; }
Property Value
Type Description
System.Boolean

true if text encoding is used; false if binary encoding is used.

Methods

| Improve this Doc View Source

CreateBindingElements()

Returns an ordered collection of binding elements contained in the current binding.

Declaration
[NotImplemented]
public override BindingElementCollection CreateBindingElements()
Returns
Type Description
System.ServiceModel.Channels.BindingElementCollection

The System.ServiceModel.Channels.BindingElementCollection that contains the ordered stack of binding elements described by the PollingDuplexHttpBinding.

Overrides
System.ServiceModel.Channels.Binding.CreateBindingElements()

Implements

System.ServiceModel.IDefaultCommunicationTimeouts
  • Improve this Doc
  • View Source