Share via


NetTcpRelayBindingBase Class

Definition

The base class for common methods for the NetTcpRelayBinding binding.

public abstract class NetTcpRelayBindingBase : System.ServiceModel.Channels.Binding, System.ServiceModel.Channels.IBindingRuntimePreferences
type NetTcpRelayBindingBase = class
    inherit Binding
    interface IBindingRuntimePreferences
Public MustInherit Class NetTcpRelayBindingBase
Inherits Binding
Implements IBindingRuntimePreferences
Inheritance
NetTcpRelayBindingBase
Derived
Implements

Constructors

NetTcpRelayBindingBase()

Initializes a new instance of the NetTcpRelayBindingBase class.

NetTcpRelayBindingBase(EndToEndSecurityMode, RelayClientAuthenticationType)

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

NetTcpRelayBindingBase(String)

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

NetTcpRelayBindingBase(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, NetTcpRelaySecurity)

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

ConnectionMode
Obsolete.

Gets or sets the connection mode: Hybrid or Relayed.

EnvelopeVersion

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

HostNameComparisonMode

Gets or sets the comparison mode used on the hostname.

IsDynamic

Gets or sets whether the relay binding is dynamic.

ListenBacklog

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

MaxBufferPoolSize

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

MaxBufferSize

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

MaxConnections

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.

MaxReceivedMessageSize

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

MessageSecurityVersion

Gets the message security version.

ReaderQuotas

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.

TransferMode

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

Methods

ApplyConfiguration(String)

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

CreateBindingElements()

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

CreateMessageSecurity()

Creates the security binding element for the current instance.

IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement)

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

Explicit Interface Implementations

IBindingRuntimePreferences.ReceiveSynchronously

Indicates that incoming requests are handled asynchronously.

Applies to