Share via


NetEventRelayBinding.IsBindingElementsMatch Method

Definition

Retrieves a value that determines if the specified binding elements match the current instance.

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

Parameters

transport
RelayedOnewayTransportBindingElement

The transport to check against the current instance.

encoding
BinaryMessageEncodingBindingElement

The encoding to check against the current instance.

session
ReliableSessionBindingElement

The session to check against the current instance.

Returns

Returns true if the bindings match; otherwise, false.

Applies to