Edytuj

Udostępnij za pośrednictwem


CachedMessageBlock.TryFindNextMessage Method

Definition

Overloads

TryFindNextMessage(Int32, StreamId, ICacheDataAdapter, Int32)

Tries to get the next message from the provided stream, starting at the start index.

TryFindNextMessage(Int32, IStreamIdentity, ICacheDataAdapter, Int32)

Tries to get the next message from the provided stream, starting at the start index.

TryFindNextMessage(Int32, StreamId, ICacheDataAdapter, Int32)

Tries to get the next message from the provided stream, starting at the start index.

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

Parameters

start
Int32

The start index.

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

TryFindNextMessage(Int32, IStreamIdentity, ICacheDataAdapter, Int32)

Source:
CachedMessageBlock.cs

Tries to get the next message from the provided stream, starting at the start index.

public bool TryFindNextMessage (int start, Orleans.Streams.IStreamIdentity streamIdentity, Orleans.Providers.Streams.Common.ICacheDataAdapter dataAdapter, out int index);
member this.TryFindNextMessage : int * Orleans.Streams.IStreamIdentity * Orleans.Providers.Streams.Common.ICacheDataAdapter * int -> bool
Public Function TryFindNextMessage (start As Integer, streamIdentity As IStreamIdentity, dataAdapter As ICacheDataAdapter, ByRef index As Integer) As Boolean

Parameters

start
Int32
streamIdentity
IStreamIdentity
dataAdapter
ICacheDataAdapter
index
Int32

Returns

Applies to