DiscoveryMessageSequence.Equality 操作员

定义

确定 DiscoveryMessageSequence 的两个指定实例是否相等。

public:
 static bool operator ==(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence1, System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence2);
public static bool operator == (System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence1, System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence2);
static member ( = ) : System.ServiceModel.Discovery.DiscoveryMessageSequence * System.ServiceModel.Discovery.DiscoveryMessageSequence -> bool
Public Shared Operator == (messageSequence1 As DiscoveryMessageSequence, messageSequence2 As DiscoveryMessageSequence) As Boolean

参数

messageSequence1
DiscoveryMessageSequence

发现消息序列。

messageSequence2
DiscoveryMessageSequence

发现消息序列。

返回

如果两个发现消息序列实例相等,则为 true;否则为 false

适用于