Net​Tcp​Relay​Binding Constructors

Definition

Overloads

Net​Tcp​Relay​Binding()

Initializes a new instance of the NetTcpRelayBinding class.

Net​Tcp​Relay​Binding(​String)

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

Net​Tcp​Relay​Binding(​End​To​End​Security​Mode, ​Relay​Client​Authentication​Type)

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

Net​Tcp​Relay​Binding(​End​To​End​Security​Mode, ​Relay​Client​Authentication​Type, ​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.

Net​Tcp​Relay​Binding(​Tcp​Relay​Transport​Binding​Element, ​Binary​Message​Encoding​Binding​Element, ​Reliable​Session​Binding​Element, ​Net​Tcp​Relay​Security)

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

NetTcpRelayBinding()

Initializes a new instance of the NetTcpRelayBinding class.

public NetTcpRelayBinding ();

NetTcpRelayBinding(String)

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

public NetTcpRelayBinding (string configurationName);
Parameters
configurationName
String

The configuration to use.

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);
Parameters
securityMode
EndToEndSecurityMode

The type of security used with the binding.

relayClientAuthenticationType
RelayClientAuthenticationType

The type of client authentication used on the relay.

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);
Parameters
securityMode
EndToEndSecurityMode

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

relayClientAuthenticationType
RelayClientAuthenticationType

The type of client authentication used on the relay.

reliableSessionEnabled
Boolean

true if reliable sessions are enabled; otherwise, false.

NetTcpRelayBinding(TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement, NetTcpRelaySecurity)

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

protected NetTcpRelayBinding (Microsoft.ServiceBus.TcpRelayTransportBindingElement transport, System.ServiceModel.Channels.BinaryMessageEncodingBindingElement encoding, System.ServiceModel.Channels.ReliableSessionBindingElement session, Microsoft.ServiceBus.NetTcpRelaySecurity security);
Parameters