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

ProcessErrorEventArgs Struct

Definition

Contains information about an exception that occurred within the processor, whether for a specific partition or as part of the processor's internal operations.

public struct ProcessErrorEventArgs
type ProcessErrorEventArgs = struct
Public Structure ProcessErrorEventArgs
Inheritance
ProcessErrorEventArgs

Constructors

ProcessErrorEventArgs(String, String, Exception, CancellationToken)

Initializes a new instance of the ProcessErrorEventArgs structure.

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.

Exception

The exception that was occurred during processing.

Operation

A short description of the operation that was being performed when the exception occurred.

PartitionId

The identifier of the partition being processed when the exception occurred. If the exception did not occur for a specific partition, this value will be null.

Applies to