Bewerken

Share via


DiscoveryMessageSequence Class

Definition

Represents the AppSequence header defined in the WS-Discovery protocol.

public ref class DiscoveryMessageSequence : IComparable<System::ServiceModel::Discovery::DiscoveryMessageSequence ^>, IEquatable<System::ServiceModel::Discovery::DiscoveryMessageSequence ^>
public class DiscoveryMessageSequence : IComparable<System.ServiceModel.Discovery.DiscoveryMessageSequence>, IEquatable<System.ServiceModel.Discovery.DiscoveryMessageSequence>
type DiscoveryMessageSequence = class
    interface IComparable<DiscoveryMessageSequence>
    interface IEquatable<DiscoveryMessageSequence>
Public Class DiscoveryMessageSequence
Implements IComparable(Of DiscoveryMessageSequence), IEquatable(Of DiscoveryMessageSequence)
Inheritance
DiscoveryMessageSequence
Implements

Remarks

This class allows a receiver of discovery messages to process those messages in order even though they were received out of order.

Properties

InstanceId

Gets the instance ID.

MessageNumber

Gets the message number.

SequenceId

Gets the sequence ID.

Methods

CanCompareTo(DiscoveryMessageSequence)

Gets a value that indicates whether the specified DiscoveryMessageSequence instance is comparable to the current DiscoveryMessageSequence instance.

CompareTo(DiscoveryMessageSequence)

Compares the specified DiscoveryMessageSequence instance with the current DiscoveryMessageSequence instance.

Equals(DiscoveryMessageSequence)

Determines if the specified DiscoveryMessageSequence instance is comparable to the current DiscoveryMessageSequence instance.

Equals(Object)

Determines if the specified object is equal to the current DiscoveryMessageSequence instance.

GetHashCode()

Gets a hash code for the current DiscoveryMessageSequence instance.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Creates a string representation of the DiscoveryMessageSequence instance.

Operators

Equality(DiscoveryMessageSequence, DiscoveryMessageSequence)

Determines if two specified instances of DiscoveryMessageSequence are equal.

Inequality(DiscoveryMessageSequence, DiscoveryMessageSequence)

Determines if two specified instances of DiscoveryMessageSequence are not equal.

Applies to