Net​Tcp​Relay​Binding​Base Class

Definition

The base class for common methods for the NetTcpRelayBinding binding.

public abstract class NetTcpRelayBindingBase : System.ServiceModel.Channels.Binding, System.ServiceModel.Channels.IBindingRuntimePreferences
Inheritance
NetTcpRelayBindingBase
Derived
Implements

Constructors

Net​Tcp​Relay​Binding​Base()

Initializes a new instance of the NetTcpRelayBindingBase class.

Net​Tcp​Relay​Binding​Base(​String)

Initializes a new instance of the NetTcpRelayBindingBase class, using the specified configuration name.

Net​Tcp​Relay​Binding​Base(​End​To​End​Security​Mode, ​Relay​Client​Authentication​Type)

Initializes a new instance of the NetTcpRelayBindingBase class, using the specified security mode and relay authentication type.

Net​Tcp​Relay​Binding​Base(​Tcp​Relay​Transport​Binding​Element, ​Binary​Message​Encoding​Binding​Element, ​Net​Tcp​Relay​Security)

Initializes a new instance of theNetTcpRelayBindingBase class, using the specified transport, encoding, and security.

Fields

encoding

The encoding element for the current instance.Along with the security and transport settings, the encoding forms the three core properties of a binding.

transport

The transport element for the current instance.Along with the encoding and security, the transport setting forms the core properties of a binding.

Properties

Connection​Mode

Gets or sets the connection mode: Hybrid or Relayed.

Envelope​Version

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

Host​Name​Comparison​Mode

Gets or sets the comparison mode used on the hostname.

Is​Dynamic

Gets or sets whether the relay binding is dynamic.

Listen​Backlog

Gets or sets the maximum number of queued connection requests that can be pending.

Max​Buffer​Pool​Size

Gets or sets the maximum size allowed for a buffer pool that stores messages processed by the binding.

Max​Buffer​Size

Gets or sets a value that specifies the maximum size of the buffer used to store messages in memory.

Max​Connections

Gets or sets a value that controls the maximum number of connections to be pooled for subsequent reuse on the client and the maximum number of connections allowed to be pending dispatch on the server.

Max​Received​Message​Size

Gets or sets the maximum size for a received message that is processed by the binding.

Message​Security​Version

Gets the message security version.

Reader​Quotas

Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding. This property cannot be null.

Scheme

Gets the URI scheme for the transport.

Security

Gets an object that specifies the type of security used with services configured with this binding.

Transfer​Mode

Gets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.

I​Binding​Runtime​Preferences.​Receive​Synchronously

Methods

Apply​Configuration(​String)

Applies the settings from the configuration element that corresponds to the specified name to the current instance of this binding element.

Create​Binding​Elements()

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

Create​Message​Security()

Creates the security binding element for the current instance.

Is​Binding​Elements​Match(​Tcp​Relay​Transport​Binding​Element, ​Binary​Message​Encoding​Binding​Element)

Determines whether the specified binding elements match the default values of the binding elements in the current instance.