SALES: 1-800-867-1380

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
Returns Boolean.
true if the objects match; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft