StreamSequenceToken Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handle representing stream sequence number/token. Consumer may subscribe to the stream while specifying the start of the subscription sequence token. That means that the stream infrastructure will deliver stream events starting from this sequence token.
[System.Serializable]
public abstract class StreamSequenceToken : IComparable<Orleans.Streams.StreamSequenceToken>, IEquatable<Orleans.Streams.StreamSequenceToken>
[System.Serializable]
[Orleans.GenerateSerializer]
public abstract class StreamSequenceToken : IComparable<Orleans.Streams.StreamSequenceToken>, IEquatable<Orleans.Streams.StreamSequenceToken>
[<System.Serializable>]
type StreamSequenceToken = class
interface IEquatable<StreamSequenceToken>
interface IComparable<StreamSequenceToken>
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
type StreamSequenceToken = class
interface IEquatable<StreamSequenceToken>
interface IComparable<StreamSequenceToken>
Public MustInherit Class StreamSequenceToken
Implements IComparable(Of StreamSequenceToken), IEquatable(Of StreamSequenceToken)
- Inheritance
-
StreamSequenceToken
- Derived
- Attributes
- Implements
Constructors
StreamSequenceToken() |
Properties
EventIndex |
Gets the number of events in batch prior to this event |
SequenceNumber |
Gets the number of event batches in stream prior to this event batch |
Methods
CompareTo(StreamSequenceToken) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
Equals(StreamSequenceToken) | Indicates whether the current object is equal to another object of the same type. |
Extension Methods
Newer(StreamSequenceToken, StreamSequenceToken) |
Returns |
Older(StreamSequenceToken, StreamSequenceToken) |
Returns |