CachedMessageBlock.TryFindNextMessage 方法

定义

重载

TryFindNextMessage(Int32, StreamId, ICacheDataAdapter, Int32)

尝试从提供的流获取下一条消息,从开始索引处开始。

TryFindNextMessage(Int32, IStreamIdentity, ICacheDataAdapter, Int32)

尝试从提供的流获取下一条消息,从开始索引处开始。

TryFindNextMessage(Int32, StreamId, ICacheDataAdapter, Int32)

尝试从提供的流获取下一条消息,从开始索引处开始。

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

参数

start
Int32

开始索引。

streamId
StreamId

流标识符。

dataAdapter
ICacheDataAdapter

数据适配器。

index
Int32

索引。

返回

true 如果找到消息,则为 ; false 否则为 。

适用于

TryFindNextMessage(Int32, IStreamIdentity, ICacheDataAdapter, Int32)

Source:
CachedMessageBlock.cs

尝试从提供的流获取下一条消息,从开始索引处开始。

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

参数

start
Int32
streamIdentity
IStreamIdentity
dataAdapter
ICacheDataAdapter
index
Int32

返回

适用于