GeneratedBatchContainer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IBatchContainer implementation for generated event payloads.
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
- Inheritance
-
GeneratedBatchContainer
- Attributes
- Implements
Constructors
GeneratedBatchContainer(Guid, String, Object, EventSequenceTokenV2) | |
GeneratedBatchContainer(StreamId, Object, EventSequenceTokenV2) |
Initializes a new instance of the GeneratedBatchContainer class. |
Properties
EnqueueTimeUtc |
Gets the enqueue time (UTC). |
Payload |
Gets the payload. |
RealToken |
Gets the real token. |
SequenceToken |
Ges the stream sequence token for the start of this batch. |
StreamGuid | |
StreamId |
Ges the stream identifier for the stream this batch is part of. |
StreamNamespace |
Methods
GetEvents<T>() |
Gets events of a specific type from the batch. |
ImportRequestContext() |
Gives an opportunity to IBatchContainer to set any data in the RequestContext before this IBatchContainer is sent to consumers. It can be the data that was set at the time event was generated and enqueued into the persistent provider or any other data. |
ShouldDeliver(IStreamIdentity, Object, StreamFilterPredicate) |