你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetTcpRelayBindingBase.IsBindingElementsMatch 方法

定义

确定指定的绑定元素是否与当前实例中绑定元素的默认值匹配。

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

参数

transport
TcpRelayTransportBindingElement

传输绑定元素。

encoding
BinaryMessageEncodingBindingElement

编码绑定元素。

返回

如果元素匹配,则为 true;否则为 false。

适用于