Share via


ChangeFeedProcessorBuilder.WithErrorNotification Method

Definition

Defines a delegate to receive notifications on errors that occur during change feed processor execution.

public Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithErrorNotification (Microsoft.Azure.Cosmos.Container.ChangeFeedMonitorErrorDelegate errorDelegate);
member this.WithErrorNotification : Microsoft.Azure.Cosmos.Container.ChangeFeedMonitorErrorDelegate -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Function WithErrorNotification (errorDelegate As Container.ChangeFeedMonitorErrorDelegate) As ChangeFeedProcessorBuilder

Parameters

errorDelegate
Container.ChangeFeedMonitorErrorDelegate

A delegate to receive notifications for change feed processor related errors.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to