GetIndexOfFirstMessageLessThanOrEqualTo(StreamSequenceToken, ICacheDataAdapter)
public int GetIndexOfFirstMessageLessThanOrEqualTo(StreamSequenceToken token, ICacheDataAdapter dataAdapter) Gets the index of the newest message in this block whose sequence token is less than or equal to the provided token.
Parameters
tokenStreamSequenceToken- The sequence token.
dataAdapterICacheDataAdapter- The data adapter used to compare provider-specific positions.
Returns
The index of the newest message whose sequence token is less than or equal to the provided token.
