Bagikan melalui


NetTcpRelayBinding Class

Definition

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

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
NetTcpRelayBinding
Implements

Constructors

NetTcpRelayBinding()

Initializes a new instance of the NetTcpRelayBinding class.

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(EndToEndSecurityMode, RelayClientAuthenticationType)

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

NetTcpRelayBinding(String)

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

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.

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.

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

Properties

ConnectionMode
Obsolete.

Gets or sets the connection mode: Hybrid or Relayed.

(Inherited from NetTcpRelayBindingBase)
EnvelopeVersion

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

(Inherited from NetTcpRelayBindingBase)
HostNameComparisonMode

Gets or sets the comparison mode used on the hostname.

(Inherited from NetTcpRelayBindingBase)
IsDynamic

Gets or sets whether the relay binding is dynamic.

(Inherited from NetTcpRelayBindingBase)
ListenBacklog

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

(Inherited from NetTcpRelayBindingBase)
MaxBufferPoolSize

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

(Inherited from NetTcpRelayBindingBase)
MaxBufferSize

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

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

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

(Inherited from NetTcpRelayBindingBase)
MessageSecurityVersion

Gets the message security version.

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

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

Scheme

Gets the URI scheme for the transport.

(Inherited from NetTcpRelayBindingBase)
Security

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

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

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

CreateBindingElements()

Creates a collection with the binding elements for the binding.

CreateMessageSecurity()

Creates the message security token for the current instance.

IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement)

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

IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement)

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

(Inherited from NetTcpRelayBindingBase)

Explicit Interface Implementations

IBindingRuntimePreferences.ReceiveSynchronously

Indicates that incoming requests are handled asynchronously.

(Inherited from NetTcpRelayBindingBase)

Applies to