你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChangeFeedProcessorBuilder.WithErrorNotification 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义一个委托,用于接收更改源处理器执行期间发生的错误的通知。
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 实例。