Share via


BatchContainerBatch 類別

定義

一批批次容器,如果設定 (請參閱 StreamPullingAgentOptions) ,將會是 PersistenStreamPullingAgent 從其基礎快取提取的資料

[Orleans.GenerateSerializer]
public sealed class BatchContainerBatch : Orleans.Streams.IBatchContainerBatch
[<Orleans.GenerateSerializer>]
type BatchContainerBatch = class
    interface IBatchContainerBatch
    interface IBatchContainer
Public NotInheritable Class BatchContainerBatch
Implements IBatchContainerBatch
繼承
BatchContainerBatch
屬性
實作

建構函式

BatchContainerBatch(List<IBatchContainer>)

一批批次容器,如果設定 (請參閱 StreamPullingAgentOptions) ,將會是 PersistenStreamPullingAgent 從其基礎快取提取的資料

屬性

BatchContainers

取得組成此批次的批次容器

SequenceToken

取得此批次開頭的資料流程順序權杖。 衍生自批次中的第一個批次容器。

StreamId

取得這個批次所屬資料流程的資料流程識別碼。 衍生自批次中的第一個批次容器。

方法

GetEvents<T>()

從批次取得特定類型的事件。

ImportRequestContext()

有機會在 IBatchContainer 傳送給取用者之前 IBatchContainer ,在 中 RequestContext 設定任何資料。 它可以是產生事件時所設定的資料,並加入持續性提供者或任何其他資料佇列。

適用於