你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PartitionClosingEventArgs Class

Definition

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