Compartilhar via


CachedMessageBlock<TCachedMessage>.TryFindFirstMessage Método

Definição

Tenta localizar a primeira mensagem no bloco que faz parte do fluxo fornecido.

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

Parâmetros

streamIdentity
IStreamIdentity
index
Int32

Retornos

Aplica-se a