CachedMessageBlock<TCachedMessage>.GetIndexOfFirstMessageLessThanOrEqualTo 方法

定义

获取此块中具有序列令牌或提供令牌之前的第一条消息的索引

public int GetIndexOfFirstMessageLessThanOrEqualTo (Orleans.Streams.StreamSequenceToken token, Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer);
member this.GetIndexOfFirstMessageLessThanOrEqualTo : Orleans.Streams.StreamSequenceToken * Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage (requires 'CachedMessage : struct)> -> int
Public Function GetIndexOfFirstMessageLessThanOrEqualTo (token As StreamSequenceToken, comparer As ICacheDataComparer(Of TCachedMessage)) As Integer

参数

返回

适用于