NetTcpRelayBinding NetTcpRelayBinding Class

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

Syntax

Declaration

public class NetTcpRelayBinding : NetTcpRelayBindingBase, IDefaultCommunicationTimeouts, IBindingRuntimePreferencesPublic Class NetTcpRelayBinding
    Inherits NetTcpRelayBindingBase
    Implements IDefaultCommunicationTimeouts, IBindingRuntimePreferences

Inheritance Hierarchy

Inherited Members

Microsoft.ServiceBus.NetTcpRelayBindingBase

, , , , , , , , , , , , ,
Microsoft.ServiceBus.NetTcpRelayBindingBase.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
Microsoft.ServiceBus.NetTcpRelayBindingBase.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
, , , ,

System.ServiceModel.Channels.Binding

, , , , ,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, Object[])
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, Object())
, , , ,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
, , , , , , , , , , , ,

System.Object

, , , , , ,

Constructors summary

Initializes a new instance of the NetTcpRelayBinding class.

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

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.

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

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

Properties summary

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

Methods summary

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

Creates a collection with the binding elements for the binding.

Creates the message security token for the current instance.

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

Constructors

  • NetTcpRelayBinding()
    NetTcpRelayBinding()

    Initializes a new instance of the NetTcpRelayBinding class.

    public NetTcpRelayBinding()Public Sub New
  • 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.

    public NetTcpRelayBinding(EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType)Public Sub New(securityMode As EndToEndSecurityMode, relayClientAuthenticationType As RelayClientAuthenticationType)

    Parameters

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

    public NetTcpRelayBinding(EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType, bool reliableSessionEnabled)Public Sub New(securityMode As EndToEndSecurityMode, relayClientAuthenticationType As RelayClientAuthenticationType, reliableSessionEnabled As Boolean)

    Parameters

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

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

    protected NetTcpRelayBinding(TcpRelayTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, ReliableSessionBindingElement session, NetTcpRelaySecurity security)Protected Sub New(transport As TcpRelayTransportBindingElement, encoding As BinaryMessageEncodingBindingElement, session As ReliableSessionBindingElement, security As NetTcpRelaySecurity)

    Parameters

  • NetTcpRelayBinding(String)
    NetTcpRelayBinding(String)

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

    public NetTcpRelayBinding(string configurationName)Public Sub New(configurationName As String)

    Parameters

Properties

  • ReliableSession
    ReliableSession

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

    public OptionalReliableSession ReliableSession { get; }Public ReadOnly Property ReliableSession As OptionalReliableSession

    Property Value

Methods

Details

Namespace

Microsoft.ServiceBus

Assembly

Microsoft.ServiceBus.dll