SALES: 1-800-867-1380
NetTcpRelayBindingBase Class
TOC
Collapse the table of content
Expand the table of content

NetTcpRelayBindingBase Class

 

The base class for common methods for the NetTcpRelayBinding binding.

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

System.Object
  System.ServiceModel.Channels.Binding
    Microsoft.ServiceBus.NetTcpRelayBindingBase
      Microsoft.ServiceBus.NetTcpRelayBinding

public abstract class NetTcpRelayBindingBase : Binding, IBindingRuntimePreferences

NameDescription
System_CAPS_protmethodNetTcpRelayBindingBase()

Initializes a new instance of the NetTcpRelayBindingBase class.

System_CAPS_protmethodNetTcpRelayBindingBase(EndToEndSecurityMode, RelayClientAuthenticationType)

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

System_CAPS_protmethodNetTcpRelayBindingBase(String)

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

System_CAPS_protmethodNetTcpRelayBindingBase(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, NetTcpRelaySecurity)

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

NameDescription
System_CAPS_pubpropertyCloseTimeout

(Inherited from Binding.)

System_CAPS_pubpropertyConnectionMode

Gets or sets the connection mode: Hybrid or Relayed.

System_CAPS_pubpropertyEnvelopeVersion

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

System_CAPS_pubpropertyHostNameComparisonMode

Gets or sets the comparison mode used on the hostname.

System_CAPS_pubpropertyIsDynamic

Gets or sets whether the relay binding is dynamic.

System_CAPS_pubpropertyListenBacklog

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

System_CAPS_pubpropertyMaxBufferPoolSize

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

System_CAPS_pubpropertyMaxBufferSize

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

System_CAPS_pubpropertyMaxConnections

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.

System_CAPS_pubpropertyMaxReceivedMessageSize

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

System_CAPS_protpropertyMessageSecurityVersion

Gets the message security version.

System_CAPS_pubpropertyMessageVersion

(Inherited from Binding.)

System_CAPS_pubpropertyName

(Inherited from Binding.)

System_CAPS_pubpropertyNamespace

(Inherited from Binding.)

System_CAPS_pubpropertyOpenTimeout

(Inherited from Binding.)

System_CAPS_pubpropertyReaderQuotas

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.

System_CAPS_pubpropertyReceiveTimeout

(Inherited from Binding.)

System_CAPS_pubpropertyScheme

Gets the URI scheme for the transport.(Overrides Binding.Scheme.)

System_CAPS_pubpropertySecurity

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

System_CAPS_pubpropertySendTimeout

(Inherited from Binding.)

System_CAPS_pubpropertyTransferMode

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

NameDescription
System_CAPS_protmethodApplyConfiguration(String)

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

System_CAPS_pubmethodBuildChannelFactory<TChannel>(BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelFactory<TChannel>(Object[])

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Object[])

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Uri, BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Uri, Object[])

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Uri, String, BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[])

(Inherited from Binding.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(Uri, String, Object[])

(Inherited from Binding.)

System_CAPS_pubmethodCanBuildChannelFactory<TChannel>(BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodCanBuildChannelFactory<TChannel>(Object[])

(Inherited from Binding.)

System_CAPS_pubmethodCanBuildChannelListener<TChannel>(BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodCanBuildChannelListener<TChannel>(Object[])

(Inherited from Binding.)

System_CAPS_pubmethodCreateBindingElements()

Retrieves an ordered collection of binding elements contained in the current binding.(Overrides Binding.CreateBindingElements().)

System_CAPS_protmethodCreateMessageSecurity()

Creates the security binding element for the current instance.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetProperty<T>(BindingParameterCollection)

(Inherited from Binding.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodIsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement)

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

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_protfieldencoding

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

System_CAPS_protfieldtransport

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

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIBindingRuntimePreferences.ReceiveSynchronously

Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.

Azure Service Bus supports only Full Trust code access security.

The abstract NetTcpRelayBindingBase class serves as the base class for the derived NetTcpRelayBinding class, which is very closely aligned with the standard WCF NetTcpBinding class and has been highly optimized for efficiency and throughput. The key difference is that NetTcpRelayBinding creates a publicly reachable TCP endpoint in the Azure Service Bus service. By default, NetTcpRelayBindingBase uses the following:

  • A security suite that conducts end-to-end transport security, access token-based client authentication, and transmitted data protected by encrypting and signing.

  • TCP for message delivery with built-in support for the Azure Service Bus.

  • Binary message encoding.

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

Return to top
Show:
© 2016 Microsoft