Edit

Share via


CachedMessageBlock.TryFindFirstMessage Method

Definition

Overloads

TryFindFirstMessage(StreamId, ICacheDataAdapter, Int32)

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

TryFindFirstMessage(IStreamIdentity, ICacheDataAdapter, Int32)

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

TryFindFirstMessage(StreamId, ICacheDataAdapter, Int32)

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

public bool TryFindFirstMessage (Orleans.Runtime.StreamId streamId, Orleans.Providers.Streams.Common.ICacheDataAdapter dataAdapter, out int index);
member this.TryFindFirstMessage : Orleans.Runtime.StreamId * Orleans.Providers.Streams.Common.ICacheDataAdapter * int -> bool
Public Function TryFindFirstMessage (streamId As StreamId, dataAdapter As ICacheDataAdapter, ByRef index As Integer) As Boolean

Parameters

streamId
StreamId

The stream identifier.

dataAdapter
ICacheDataAdapter

The data adapter.

index
Int32

The index.

Returns

true if the message was found, false otherwise.

Applies to

TryFindFirstMessage(IStreamIdentity, ICacheDataAdapter, Int32)

Source:
CachedMessageBlock.cs

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.ICacheDataAdapter dataAdapter, out int index);
member this.TryFindFirstMessage : Orleans.Streams.IStreamIdentity * Orleans.Providers.Streams.Common.ICacheDataAdapter * int -> bool
Public Function TryFindFirstMessage (streamIdentity As IStreamIdentity, dataAdapter As ICacheDataAdapter, ByRef index As Integer) As Boolean

Parameters

streamIdentity
IStreamIdentity
dataAdapter
ICacheDataAdapter
index
Int32

Returns

Applies to