CachedMessageBlock.GetIndexOfFirstMessageLessThanOrEqualTo Method
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.
Gets the index of the first message in this block that has a sequence token at or before the provided token
public int GetIndexOfFirstMessageLessThanOrEqualTo (Orleans.Streams.StreamSequenceToken token);
member this.GetIndexOfFirstMessageLessThanOrEqualTo : Orleans.Streams.StreamSequenceToken -> int
Public Function GetIndexOfFirstMessageLessThanOrEqualTo (token As StreamSequenceToken) As Integer
Parameters
- token
- StreamSequenceToken
The sequence token.
Returns
The index of the first message in this block that has a sequence token equal to or before the provided token.