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.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
Microsoft.ServiceBus.NetTcpRelayBindingBase.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
,
Microsoft.ServiceBus.NetTcpRelayBindingBase.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
Microsoft.ServiceBus.NetTcpRelayBindingBase.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
, , , , , , , , , , , , , , , , , , ,
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, 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)
,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

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

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

    protected override void ApplyConfiguration(string configurationName)Protected Overrides Sub ApplyConfiguration(configurationName As String)

    Parameters

    • configurationName

      The name of the configuration element to take the settings from.

  • CreateBindingElements()
    CreateBindingElements()

    Creates a collection with the binding elements for the binding.

    public override BindingElementCollection CreateBindingElements()Public Overrides Function CreateBindingElements As BindingElementCollection

    Returns

  • CreateMessageSecurity()
    CreateMessageSecurity()

    Creates the message security token for the current instance.

    protected override SecurityBindingElement CreateMessageSecurity()Protected Overrides Function CreateMessageSecurity As SecurityBindingElement

    Returns

  • IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement)
    IsBindingElementsMatch(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement)

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

    protected bool IsBindingElementsMatch(TcpRelayTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, ReliableSessionBindingElement session)Protected Function IsBindingElementsMatch(transport As TcpRelayTransportBindingElement, encoding As BinaryMessageEncodingBindingElement, session As ReliableSessionBindingElement) As Boolean

    Parameters

    Returns

Details

Assembly

Microsoft.ServiceBus.dll