Bewerken

Delen via


CachedMessageBlock<TCachedMessage>.TryFindNextMessage Method

Definition

Tries to get the next message from the provided stream, starting at the start index.

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

Parameters

start
Int32
streamIdentity
IStreamIdentity
index
Int32

Returns

Applies to