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