NetTcpRelayBinding.IsBindingElementsMatch Method

Definition

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

protected bool IsBindingElementsMatch (Microsoft.ServiceBus.TcpRelayTransportBindingElement transport, System.ServiceModel.Channels.BinaryMessageEncodingBindingElement encoding, System.ServiceModel.Channels.ReliableSessionBindingElement session);
Parameters
transport
TcpRelayTransportBindingElement

The transport to match.

encoding
BinaryMessageEncodingBindingElement

The encoding to match.

session
ReliableSessionBindingElement

The session to match.

Returns

ReturnsBoolean.true if the objects match; otherwise, false.