共用方式為


GeneratedBatchContainer 類別

定義

IBatchContainer 產生的事件承載實作。

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

建構函式

GeneratedBatchContainer(Guid, String, Object, EventSequenceTokenV2)

IBatchContainer 產生的事件承載實作。

GeneratedBatchContainer(StreamId, Object, EventSequenceTokenV2)

初始化 GeneratedBatchContainer 類別的新執行個體。

屬性

EnqueueTimeUtc

取得 UTC) (排入佇列時間。

Payload

取得承載。

RealToken

取得實際的權杖。

SequenceToken

取得此批次開頭的資料流程順序權杖。

StreamGuid

IBatchContainer 產生的事件承載實作。

StreamId

取得此批次所屬資料流程的資料流程識別碼。

StreamNamespace

IBatchContainer 產生的事件承載實作。

方法

GetEvents<T>()

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

ImportRequestContext()

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

ShouldDeliver(IStreamIdentity, Object, StreamFilterPredicate)

IBatchContainer 產生的事件承載實作。

適用於