NetTcpRelayBinding.IsBindingElementsMatch Method (TcpRelayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement)

 

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

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

protected bool IsBindingElementsMatch(
	TcpRelayTransportBindingElement transport,
	BinaryMessageEncodingBindingElement encoding,
	ReliableSessionBindingElement session
)

Parameters

transport
Type: Microsoft.ServiceBus.TcpRelayTransportBindingElement

The transport to match.

encoding
Type: System.ServiceModel.Channels.BinaryMessageEncodingBindingElement

The encoding to match.

session
Type: System.ServiceModel.Channels.ReliableSessionBindingElement

The session to match.

Return Value

Type: System.Boolean

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

Return to top
Show: