Class PipelinePartitionsRevokedEventArgs
Contains data for partition-revoked notifications.
public sealed class PipelinePartitionsRevokedEventArgs
- Inheritance
-
PipelinePartitionsRevokedEventArgs
- Inherited Members
Constructors
PipelinePartitionsRevokedEventArgs(PipelineRuntimeContext, IReadOnlyList<PipelinePartitionLease>)
Initializes a new partition-revoked payload.
public PipelinePartitionsRevokedEventArgs(PipelineRuntimeContext runtimeContext, IReadOnlyList<PipelinePartitionLease> partitions)
Parameters
runtimeContextPipelineRuntimeContextpartitionsIReadOnlyList<PipelinePartitionLease>
Properties
Partitions
Gets the partitions revoked from 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; }