Share via


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