Redigera

Dela via


CachedMessageBlock<TCachedMessage>.TryFindFirstMessage Method

Definition

Tries to find the first message in the block that is part of the provided stream.

public bool TryFindFirstMessage (Orleans.Streams.IStreamIdentity streamIdentity, Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer, out int index);
member this.TryFindFirstMessage : Orleans.Streams.IStreamIdentity * Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage (requires 'CachedMessage : struct)> * int -> bool
Public Function TryFindFirstMessage (streamIdentity As IStreamIdentity, comparer As ICacheDataComparer(Of TCachedMessage), ByRef index As Integer) As Boolean

Parameters

streamIdentity
IStreamIdentity
index
Int32

Returns

Applies to