JournaledGrain<TGrainState,TEventBase>.RetrieveConfirmedEvents メソッド

定義

確認されたイベント シーケンスのセグメントを取得します (ストレージから取得する場合があります)。 イベントが NotSupportedException 読み取り可能でない場合は をスローします。 イベントが使用可能かどうか、および期間は、使用されるプロバイダーとその構成方法によって異なります。

protected System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<TEventBase>> RetrieveConfirmedEvents (int fromVersion, int toVersion);
member this.RetrieveConfirmedEvents : int * int -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<'EventBase>>
Protected Function RetrieveConfirmedEvents (fromVersion As Integer, toVersion As Integer) As Task(Of IReadOnlyList(Of TEventBase))

パラメーター

fromVersion
Int32

開始元のイベント シーケンスの位置

toVersion
Int32

終了するイベント シーケンスの位置

戻り値

Task<IReadOnlyList<TEventBase>>

2 つのバージョン間のイベントのシーケンスを返すタスク

適用対象