NetTcpRelayBinding NetTcpRelayBinding NetTcpRelayBinding Constructors

Definition

Overloads

NetTcpRelayBinding() NetTcpRelayBinding()

Initializes a new instance of the NetTcpRelayBinding class.

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

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

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)

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

NetTcpRelayBinding() NetTcpRelayBinding()

Initializes a new instance of the NetTcpRelayBinding class.

public NetTcpRelayBinding ();
Public Sub New ()

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

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

public NetTcpRelayBinding (string configurationName);
new Microsoft.ServiceBus.NetTcpRelayBinding : string -> Microsoft.ServiceBus.NetTcpRelayBinding
Public Sub New (configurationName As String)
Parameters
configurationName
String String String

The configuration to use.

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 (Microsoft.ServiceBus.EndToEndSecurityMode securityMode, Microsoft.ServiceBus.RelayClientAuthenticationType relayClientAuthenticationType);
new Microsoft.ServiceBus.NetTcpRelayBinding : Microsoft.ServiceBus.EndToEndSecurityMode * Microsoft.ServiceBus.RelayClientAuthenticationType -> Microsoft.ServiceBus.NetTcpRelayBinding
Parameters
securityMode
EndToEndSecurityMode EndToEndSecurityMode EndToEndSecurityMode

The type of security used with the binding.

relayClientAuthenticationType
RelayClientAuthenticationType RelayClientAuthenticationType RelayClientAuthenticationType

The type of client authentication used on the relay.

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 (Microsoft.ServiceBus.EndToEndSecurityMode securityMode, Microsoft.ServiceBus.RelayClientAuthenticationType relayClientAuthenticationType, bool reliableSessionEnabled);
new Microsoft.ServiceBus.NetTcpRelayBinding : Microsoft.ServiceBus.EndToEndSecurityMode * Microsoft.ServiceBus.RelayClientAuthenticationType * bool -> Microsoft.ServiceBus.NetTcpRelayBinding
Parameters
securityMode
EndToEndSecurityMode EndToEndSecurityMode EndToEndSecurityMode

The type of security used with the Azure Service Bus binding.

relayClientAuthenticationType
RelayClientAuthenticationType RelayClientAuthenticationType RelayClientAuthenticationType

The type of client authentication used on the relay.

reliableSessionEnabled
Boolean Boolean Boolean

true if reliable sessions are enabled; otherwise, false.

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.

protected NetTcpRelayBinding (Microsoft.ServiceBus.TcpRelayTransportBindingElement transport, System.ServiceModel.Channels.BinaryMessageEncodingBindingElement encoding, System.ServiceModel.Channels.ReliableSessionBindingElement session, Microsoft.ServiceBus.NetTcpRelaySecurity security);
new Microsoft.ServiceBus.NetTcpRelayBinding : Microsoft.ServiceBus.TcpRelayTransportBindingElement * System.ServiceModel.Channels.BinaryMessageEncodingBindingElement * System.ServiceModel.Channels.ReliableSessionBindingElement * Microsoft.ServiceBus.NetTcpRelaySecurity -> Microsoft.ServiceBus.NetTcpRelayBinding
Protected Sub New (transport As TcpRelayTransportBindingElement, encoding As BinaryMessageEncodingBindingElement, session As ReliableSessionBindingElement, security As NetTcpRelaySecurity)
Parameters
security
NetTcpRelaySecurity NetTcpRelaySecurity NetTcpRelaySecurity

The security binding element.

Applies to