CachedMessageBlock<TCachedMessage>.TryFindNextMessage 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试从提供的流中获取下一条消息,从起始索引开始。
public bool TryFindNextMessage (int start, Orleans.Streams.IStreamIdentity streamIdentity, Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer, out int index);
member this.TryFindNextMessage : int * Orleans.Streams.IStreamIdentity * Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage (requires 'CachedMessage : struct)> * int -> bool
Public Function TryFindNextMessage (start As Integer, streamIdentity As IStreamIdentity, comparer As ICacheDataComparer(Of TCachedMessage), ByRef index As Integer) As Boolean
参数
- start
- Int32
- streamIdentity
- IStreamIdentity
- comparer
- ICacheDataComparer<TCachedMessage>
- index
- Int32