Share via


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

Container.ChangeFeedStreamHandler 委托

定义

委托以接收执行中的 ChangeFeedProcessor 更改。

public delegate System.Threading.Tasks.Task Container.ChangeFeedStreamHandler(ChangeFeedProcessorContext context, Stream changes, CancellationToken cancellationToken);
type Container.ChangeFeedStreamHandler = delegate of ChangeFeedProcessorContext * Stream * CancellationToken -> Task
Public Delegate Function Container.ChangeFeedStreamHandler(context As ChangeFeedProcessorContext, changes As Stream, cancellationToken As CancellationToken) As Task 

参数

context
ChangeFeedProcessorContext

与更改相关的上下文。

changes
Stream

发生的更改。

cancellationToken
CancellationToken

表示实例的当前取消状态的 ChangeFeedProcessor 取消标记。

返回值

一个 Task ,它表示要对更改执行的异步操作。

适用于