Bagikan melalui


NetTcpRelayBindingBase.IsBindingElementsMatch Method

Definition

Determines whether the specified binding elements match the default values of the binding elements in the current instance.

protected bool IsBindingElementsMatch (Microsoft.ServiceBus.TcpRelayTransportBindingElement transport, System.ServiceModel.Channels.BinaryMessageEncodingBindingElement encoding);
member this.IsBindingElementsMatch : Microsoft.ServiceBus.TcpRelayTransportBindingElement * System.ServiceModel.Channels.BinaryMessageEncodingBindingElement -> bool
Protected Function IsBindingElementsMatch (transport As TcpRelayTransportBindingElement, encoding As BinaryMessageEncodingBindingElement) As Boolean

Parameters

transport
TcpRelayTransportBindingElement

The transport binding element.

encoding
BinaryMessageEncodingBindingElement

The encoding binding element.

Returns

true if the elements match; otherwise, false.

Applies to