NetTcpRelayBinding NetTcpRelayBinding NetTcpRelayBinding NetTcpRelayBinding Class

Definition

Provides a secure, reliable binding suitable for cross-computer communication.

public ref class NetTcpRelayBinding : Microsoft::ServiceBus::NetTcpRelayBindingBase, System::ServiceModel::Channels::IBindingRuntimePreferences
public class NetTcpRelayBinding : Microsoft.ServiceBus.NetTcpRelayBindingBase, System.ServiceModel.Channels.IBindingRuntimePreferences
type NetTcpRelayBinding = class
    inherit NetTcpRelayBindingBase
    interface IBindingRuntimePreferences
Public Class NetTcpRelayBinding
Inherits NetTcpRelayBindingBase
Implements IBindingRuntimePreferences
Inheritance
Implements

Constructors

NetTcpRelayBinding() NetTcpRelayBinding() NetTcpRelayBinding() NetTcpRelayBinding()

Initializes a new instance of the NetTcpRelayBinding class.

NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType) NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType) NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType) NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType)

Initializes a new instance of the NetTcpRelayBinding class with the type of security used and relay client authentication specified.

NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType, Boolean) NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType, Boolean) NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType, Boolean) NetTcpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType, Boolean)

Initializes a new instance of the NetTcpRelayBinding class with the type of security used, the type of client authentication, and a value that indicates whether reliable sessions are explicitly enabled.

NetTcpRelayBinding(String) NetTcpRelayBinding(String) NetTcpRelayBinding(String) NetTcpRelayBinding(String)

Initializes a new instance of the NetTcpRelayBinding class with a specified XML configuration.

NetTcpRelayBinding(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement, NetTcpRelaySecurity) NetTcpRelayBinding(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement, NetTcpRelaySecurity) NetTcpRelayBinding(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement, NetTcpRelaySecurity) NetTcpRelayBinding(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement, NetTcpRelaySecurity)

Initializes a new instance of the NetTcpRelayBinding class with the given transport, encoder, reliable session binding element and type of security used.

Properties

ConnectionMode ConnectionMode ConnectionMode ConnectionMode

Gets or sets the connection mode: Hybrid or Relayed.

(Inherited from NetTcpRelayBindingBase)
EnvelopeVersion EnvelopeVersion EnvelopeVersion EnvelopeVersion

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

(Inherited from NetTcpRelayBindingBase)
HostNameComparisonMode HostNameComparisonMode HostNameComparisonMode HostNameComparisonMode

Gets or sets the comparison mode used on the hostname.

(Inherited from NetTcpRelayBindingBase)
IBindingRuntimePreferences.ReceiveSynchronously IBindingRuntimePreferences.ReceiveSynchronously IBindingRuntimePreferences.ReceiveSynchronously IBindingRuntimePreferences.ReceiveSynchronously

Indicates that incoming requests are handled asynchronously.

(Inherited from NetTcpRelayBindingBase)
IsDynamic IsDynamic IsDynamic IsDynamic

Gets or sets whether the relay binding is dynamic.

(Inherited from NetTcpRelayBindingBase)
ListenBacklog ListenBacklog ListenBacklog ListenBacklog

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

(Inherited from NetTcpRelayBindingBase)
MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize

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

(Inherited from NetTcpRelayBindingBase)
MaxBufferSize MaxBufferSize MaxBufferSize MaxBufferSize

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

(Inherited from NetTcpRelayBindingBase)
MaxConnections MaxConnections MaxConnections 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.

(Inherited from NetTcpRelayBindingBase)
MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize

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

(Inherited from NetTcpRelayBindingBase)
MessageSecurityVersion MessageSecurityVersion MessageSecurityVersion MessageSecurityVersion

Gets the message security version.

(Inherited from NetTcpRelayBindingBase)
ReaderQuotas ReaderQuotas ReaderQuotas 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.

(Inherited from NetTcpRelayBindingBase)
ReliableSession ReliableSession ReliableSession ReliableSession

Gets an object that indicates whether a reliable session is established between Azure Service Bus channel endpoints.

Scheme Scheme Scheme Scheme

Gets the URI scheme for the transport.

(Inherited from NetTcpRelayBindingBase)
Security Security Security Security

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

(Inherited from NetTcpRelayBindingBase)
TransferMode TransferMode TransferMode 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.

(Inherited from NetTcpRelayBindingBase)

Methods

ApplyConfiguration(String) ApplyConfiguration(String) ApplyConfiguration(String) ApplyConfiguration(String)

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

CreateBindingElements() CreateBindingElements() CreateBindingElements() CreateBindingElements()

Creates a collection with the binding elements for the binding.

CreateMessageSecurity() CreateMessageSecurity() CreateMessageSecurity() CreateMessageSecurity()

Creates the message security token for the current instance.

IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement) IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement) IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement) IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement)

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

(Inherited from NetTcpRelayBindingBase)
IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement) IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement) IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement) IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement)

Returns a value that determines whether the specified objects have matching binding elements.

Fields

encoding encoding encoding 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.

(Inherited from NetTcpRelayBindingBase)
transport transport transport transport

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

(Inherited from NetTcpRelayBindingBase)

Applies to