Udostępnij za pośrednictwem


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);
override this.IsBindingElementsMatch : Microsoft.ServiceBus.TcpRelayTransportBindingElement * System.ServiceModel.Channels.BinaryMessageEncodingBindingElement * System.ServiceModel.Channels.ReliableSessionBindingElement -> bool
Protected Function IsBindingElementsMatch (transport As TcpRelayTransportBindingElement, encoding As BinaryMessageEncodingBindingElement, session As ReliableSessionBindingElement) As Boolean

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.

Applies to