DiscoveryMessageSequence.CompareTo(DiscoveryMessageSequence) Method

Definition

Compares the specified DiscoveryMessageSequence instance with the current DiscoveryMessageSequence instance.

C#
public int CompareTo(System.ServiceModel.Discovery.DiscoveryMessageSequence other);

Parameters

other
DiscoveryMessageSequence

The discovery message sequence to compare.

Returns

0 if the two discovery message sequences are equal, a negative number if the message number of other is greater than the message number of the current discovery sequence.

Implements

Applies to

Ürün Sürümler
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1