DiscoveryMessageSequence DiscoveryMessageSequence DiscoveryMessageSequence DiscoveryMessageSequence Class

定义

表示在 WS-Discovery 协议中定义的 AppSequence 标头。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)
继承
DiscoveryMessageSequenceDiscoveryMessageSequenceDiscoveryMessageSequenceDiscoveryMessageSequence
实现

注解

此类允许发现消息的接收器按顺序处理这些信息(即使这些信息没有按顺序接收)。This class allows a receiver of discovery messages to process those messages in order even though they were received out of order.

属性

InstanceId InstanceId InstanceId InstanceId

获取实例 ID。Gets the instance ID.

MessageNumber MessageNumber MessageNumber MessageNumber

获取消息数。Gets the message number.

SequenceId SequenceId SequenceId SequenceId

获取序列 ID。Gets the sequence ID.

方法

CanCompareTo(DiscoveryMessageSequence) CanCompareTo(DiscoveryMessageSequence) CanCompareTo(DiscoveryMessageSequence) CanCompareTo(DiscoveryMessageSequence)

获取一个值,该值指示指定的 DiscoveryMessageSequence 实例与当前的 DiscoveryMessageSequence 实例是否相当。Gets a value that indicates whether the specified DiscoveryMessageSequence instance is comparable to the current DiscoveryMessageSequence instance.

CompareTo(DiscoveryMessageSequence) CompareTo(DiscoveryMessageSequence) CompareTo(DiscoveryMessageSequence) CompareTo(DiscoveryMessageSequence)

将指定的 DiscoveryMessageSequence 实例与当前的 DiscoveryMessageSequence 实例相比较。Compares the specified DiscoveryMessageSequence instance with the current DiscoveryMessageSequence instance.

Equals(DiscoveryMessageSequence) Equals(DiscoveryMessageSequence) Equals(DiscoveryMessageSequence) Equals(DiscoveryMessageSequence)

确定指定的 DiscoveryMessageSequence 实例与当前的 DiscoveryMessageSequence 实例是否相当。Determines if the specified DiscoveryMessageSequence instance is comparable to the current DiscoveryMessageSequence instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定对象是否与当前的 DiscoveryMessageSequence 实例相等。Determines if the specified object is equal to the current DiscoveryMessageSequence instance.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

获取当前 DiscoveryMessageSequence 实例的哈希代码。Gets a hash code for the current DiscoveryMessageSequence instance.

GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

创建 DiscoveryMessageSequence 实例的字符串表示形式。Creates a string representation of the DiscoveryMessageSequence instance.

操作员

Equality(DiscoveryMessageSequence, DiscoveryMessageSequence) Equality(DiscoveryMessageSequence, DiscoveryMessageSequence) Equality(DiscoveryMessageSequence, DiscoveryMessageSequence) Equality(DiscoveryMessageSequence, DiscoveryMessageSequence)

确定 DiscoveryMessageSequence 的两个指定实例是否相等。Determines if two specified instances of DiscoveryMessageSequence are equal.

Inequality(DiscoveryMessageSequence, DiscoveryMessageSequence) Inequality(DiscoveryMessageSequence, DiscoveryMessageSequence) Inequality(DiscoveryMessageSequence, DiscoveryMessageSequence) Inequality(DiscoveryMessageSequence, DiscoveryMessageSequence)

确定 DiscoveryMessageSequence 的两个指定实例是否不相等。Determines if two specified instances of DiscoveryMessageSequence are not equal.

适用于