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

NetTcpRelayBinding.IsBindingElementsMatch 方法

定义

返回一个值,该值确定指定的对象是否具有匹配的绑定元素。

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

参数

transport
TcpRelayTransportBindingElement

要匹配的传输。

encoding
BinaryMessageEncodingBindingElement

要匹配的编码。

session
ReliableSessionBindingElement

要匹配的会话。

返回

Boolean如果对象匹配,则返回.true;否则返回 false。

适用于