SALES: 1-800-867-1380

NetTcpRelayBindingBase Class

The base class for common methods for the NetTcpRelayBinding binding.

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

public abstract class NetTcpRelayBindingBase : Binding, 
	IBindingRuntimePreferences

The NetTcpRelayBindingBase type exposes the following members.

  NameDescription
Protected methodNetTcpRelayBindingBase()Initializes a new instance of the NetTcpRelayBindingBase class.
Protected methodNetTcpRelayBindingBase(String)Initializes a new instance of the NetTcpRelayBindingBase class, using the specified configuration name.
Protected methodNetTcpRelayBindingBase(EndToEndSecurityMode, RelayClientAuthenticationType)Initializes a new instance of the NetTcpRelayBindingBase class, using the specified security mode and relay authentication type.
Protected methodNetTcpRelayBindingBase(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, NetTcpRelaySecurity)Initializes a new instance of the NetTcpRelayBindingBase class, using the specified transport, encoding, and security.
Top

  NameDescription
Public propertyCloseTimeout (Inherited from Binding.)
Public propertyConnectionModeGets or sets the connection mode: Hybrid or Relayed.
Public propertyEnvelopeVersionGets the version of SOAP that is used for messages processed by this binding.
Public propertyHostNameComparisonModeGets or sets the comparison mode used on the hostname.
Public propertyIsDynamicGets or sets whether the relay binding is dynamic.
Public propertyListenBacklogGets or sets the maximum number of queued connection requests that can be pending.
Public propertyMaxBufferPoolSizeGets or sets the maximum size allowed for a buffer pool that stores messages processed by the binding.
Public propertyMaxBufferSizeGets or sets a value that specifies the maximum size of the buffer used to store messages in memory.
Public propertyMaxConnectionsGets 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.
Public propertyMaxReceivedMessageSizeGets or sets the maximum size for a received message that is processed by the binding.
Protected propertyMessageSecurityVersionGets the message security version.
Public propertyMessageVersion (Inherited from Binding.)
Public propertyName (Inherited from Binding.)
Public propertyNamespace (Inherited from Binding.)
Public propertyOpenTimeout (Inherited from Binding.)
Public propertyReaderQuotasGets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding. This property cannot be null.
Public propertyReceiveTimeout (Inherited from Binding.)
Public propertySchemeGets the URI scheme for the transport. (Overrides Binding.Scheme.)
Public propertySecurityGets an object that specifies the type of security used with services configured with this binding.
Public propertySendTimeout (Inherited from Binding.)
Public propertyTransferModeGets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.
Top

  NameDescription
Protected methodApplyConfigurationApplies the settings from the configuration element that corresponds to the specified name to the current instance of this binding element.
Public methodBuildChannelFactory<TChannel>(Object[]) (Inherited from Binding.)
Public methodBuildChannelFactory<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection) (Inherited from Binding.)
Public methodCanBuildChannelFactory<TChannel>(Object[]) (Inherited from Binding.)
Public methodCanBuildChannelFactory<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodCanBuildChannelListener<TChannel>(Object[]) (Inherited from Binding.)
Public methodCanBuildChannelListener<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodCreateBindingElementsRetrieves an ordered collection of binding elements contained in the current binding. (Overrides Binding.CreateBindingElements().)
Protected methodCreateMessageSecurityCreates the security binding element for the current instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty<T> (Inherited from Binding.)
Public methodGetType (Inherited from Object.)
Protected methodIsBindingElementsMatchDetermines whether the specified binding elements match the default values of the binding elements in the current instance.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodShouldSerializeName (Inherited from Binding.)
Public methodShouldSerializeNamespace (Inherited from Binding.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Protected fieldencodingThe encoding element for the current instance. Along with the security and transport settings, the encoding forms the three core properties of a binding.
Protected fieldtransportThe transport element for the current instance. Along with the encoding and security, the transport setting forms the core properties of a binding.
Top

  NameDescription
Explicit interface implemetationPrivate propertyIBindingRuntimePreferences.ReceiveSynchronouslyGets a value that indicates whether incoming requests are handled synchronously or asynchronously.
Top

Windows 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 Windows 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 Windows 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft