CachedMessageBlock<TCachedMessage>.TryFindNextMessage 方法

定义

尝试从提供的流中获取下一条消息,从起始索引开始。

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
index
Int32

返回

适用于