EventSequenceToken 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.
Stream sequence token that tracks sequence number and event index
[System.Serializable]
public class EventSequenceToken : Orleans.Streams.StreamSequenceToken
[System.Serializable]
[Orleans.GenerateSerializer]
public class EventSequenceToken : Orleans.Streams.StreamSequenceToken
[<System.Serializable>]
type EventSequenceToken = class
inherit StreamSequenceToken
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
type EventSequenceToken = class
inherit StreamSequenceToken
Public Class EventSequenceToken
Inherits StreamSequenceToken
- Inheritance
- Derived
- Attributes
Constructors
EventSequenceToken() |
Initializes a new instance of the EventSequenceToken class. |
EventSequenceToken(Int64, Int32) |
Initializes a new instance of the EventSequenceToken class. |
EventSequenceToken(Int64) |
Initializes a new instance of the EventSequenceToken class. |
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 object with another object of the same type. |
CreateSequenceTokenForEvent(Int32) |
Creates a sequence token for a specific event in the current batch. |
Equals(Object) |
Determines whether the specified object is equal to the current object. |
Equals(StreamSequenceToken) |
Indicates whether the current object is equal to another object of the same type. |
GetHashCode() |
GetHashCode method for current EventSequenceToken |
ToString() |
ToString method |
Extension Methods
Newer(StreamSequenceToken, StreamSequenceToken) |
Returns |
Older(StreamSequenceToken, StreamSequenceToken) |
Returns |