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

ChangeFeedProcessorBuilder.WithPollInterval(TimeSpan) 方法

定义

获取或设置在清空所有当前更改后轮询更改源以获取新更改之间的延迟。

public Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithPollInterval (TimeSpan pollInterval);
member this.WithPollInterval : TimeSpan -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Function WithPollInterval (pollInterval As TimeSpan) As ChangeFeedProcessorBuilder

参数

pollInterval
TimeSpan

轮询间隔值。

返回

要使用的 实例 ChangeFeedProcessorBuilder

注解

仅在对更改源的读取未产生任何结果后应用。

适用于