Partager via


CachedMessageBlock<TCachedMessage>.TryFindFirstMessage Méthode

Définition

Tente de trouver le premier message dans le bloc qui fait partie du flux fourni.

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

Paramètres

streamIdentity
IStreamIdentity
index
Int32

Retours

S’applique à