Edit

Share via


CachedMessageBlock.GetIndexOfFirstMessageLessThanOrEqualTo Method

Definition

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.

Applies to