你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChangeFeedProcessorBuilder.WithPollInterval(TimeSpan) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置在清空所有当前更改后轮询更改源以获取新更改之间的延迟。
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 。
注解
仅在对更改源的读取未产生任何结果后应用。