SequenceNumber Structure

 

Represents a sequence number assigned to a log record in a record sequence.

Namespace:   System.IO.Log
Assembly:  System.IO.Log (in System.IO.Log.dll)

[SerializableAttribute]
public struct SequenceNumber : IComparable<SequenceNumber>

NameDescription
System_CAPS_pubmethodSequenceNumber(Byte[])

Initializes a new instance of the SequenceNumber class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticInvalid

Gets a sequence number that serves as a default value for representing an invalid sequence number.

NameDescription
System_CAPS_pubmethodCompareTo(SequenceNumber)

Compares this sequence number with a specified object.

System_CAPS_pubmethodEquals(Object)

Indicates whether this instance and a specified object are equal.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(SequenceNumber)

Indicates whether this instance and a specified sequence number are equal.

System_CAPS_pubmethodGetBytes()

Encodes all or part of the current sequence number into a byte array.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(SequenceNumber, SequenceNumber)

Compares two SequenceNumber instances to determine whether they are equal.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(SequenceNumber, SequenceNumber)

Performs a logical comparison of two SequenceNumber instances to determine whether the first is greater than the second.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(SequenceNumber, SequenceNumber)

Performs a logical comparison of two SequenceNumber instances to determine whether the first is greater than or equal to the second.

System_CAPS_puboperatorSystem_CAPS_staticInequality(SequenceNumber, SequenceNumber)

Compares two SequenceNumber instances to determine whether they are not equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(SequenceNumber, SequenceNumber)

Performs a logical comparison of the two SequenceNumber parameters to determine whether the first is less than the second.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(SequenceNumber, SequenceNumber)

Performs a logical comparison of the two SequenceNumber parameters to determine whether the first is less than or equal to the second.

Each log record in a sequence is assigned a sequence number greater than the sequence numbers of the records appended before it. A sequence number can be compared, but not otherwise manipulated.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: