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

ChangeFeedProcessorBuilder.WithErrorNotification 方法

定义

定义一个委托,用于接收更改源处理器执行期间发生的错误的通知。

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

参数

errorDelegate
Container.ChangeFeedMonitorErrorDelegate

一个委托,用于接收更改源处理器相关错误的通知。

返回

要使用的 的 ChangeFeedProcessorBuilder 实例。

适用于