Class PipelinePartitionsAssignedEventArgs
Contains data for partition-assigned notifications.
public sealed class PipelinePartitionsAssignedEventArgs
- Inheritance
-
PipelinePartitionsAssignedEventArgs
- Inherited Members
Constructors
PipelinePartitionsAssignedEventArgs(PipelineRuntimeContext, IReadOnlyList<PipelinePartitionLease>)
Initializes a new partition-assigned payload.
public PipelinePartitionsAssignedEventArgs(PipelineRuntimeContext runtimeContext, IReadOnlyList<PipelinePartitionLease> partitions)
Parameters
runtimeContextPipelineRuntimeContextpartitionsIReadOnlyList<PipelinePartitionLease>
Properties
Partitions
Gets the partitions assigned to the worker.
public IReadOnlyList<PipelinePartitionLease> Partitions { get; }
Property Value
RuntimeContext
Gets the current runtime context.
public PipelineRuntimeContext RuntimeContext { get; }
Property Value
WorkerId
Gets the current worker identifier.
public string WorkerId { get; }