EventSequenceTokenV2 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 EventSequenceTokenV2 : Orleans.Streams.StreamSequenceToken
[System.Serializable]
[Orleans.GenerateSerializer]
public class EventSequenceTokenV2 : Orleans.Streams.StreamSequenceToken
[<System.Serializable>]
type EventSequenceTokenV2 = class
inherit StreamSequenceToken
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
type EventSequenceTokenV2 = class
inherit StreamSequenceToken
Public Class EventSequenceTokenV2
Inherits StreamSequenceToken
- Inheritance
- Attributes
Constructors
EventSequenceTokenV2() |
Initializes a new instance of the EventSequenceTokenV2 class. |
EventSequenceTokenV2(Int64) |
Initializes a new instance of the EventSequenceTokenV2 class. |
EventSequenceTokenV2(Int64, Int32) |
Initializes a new instance of the EventSequenceTokenV2 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 |