CachedMessageBlock<TCachedMessage>.TryFindFirstMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- comparer
- ICacheDataComparer<TCachedMessage>
- index
- Int32