PartitionClosingEventArgs 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.
Contains information about the partition whose processing is being stopped.
public class PartitionClosingEventArgs
type PartitionClosingEventArgs = class
Public Class PartitionClosingEventArgs
- Inheritance
-
PartitionClosingEventArgs
Constructors
PartitionClosingEventArgs(String, ProcessingStoppedReason, CancellationToken) |
Initializes a new instance of the PartitionClosingEventArgs class. |
Properties
CancellationToken |
A CancellationToken to indicate that the processor is requesting that the handler stop its activities. If this token is requesting cancellation, then the processor is attempting to shutdown. |
PartitionId |
The identifier of the Event Hub partition this instance is associated with. |
Reason |
The reason why the processing for the associated partition is being stopped. |
Applies to
Azure SDK for .NET