CachedMessageBlock<TCachedMessage>.TryFindFirstMessage 方法

定义

尝试查找块中属于所提供流的第一条消息。

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

参数

streamIdentity
IStreamIdentity
index
Int32

返回

适用于