Delegate Container.ChangeFeedStreamHandler
Delegate to receive the changes within a ChangeFeedProcessor execution.
public delegate Task Container.ChangeFeedStreamHandler(ChangeFeedProcessorContext context, Stream changes, CancellationToken cancellationToken)
Parameters
context
ChangeFeedProcessorContextThe context related to the changes.
changes
StreamThe changes that happened.
cancellationToken
CancellationTokenA cancellation token representing the current cancellation status of the ChangeFeedProcessor instance.
Returns
- Extension Methods
Constructors
ChangeFeedStreamHandler(object, nint)
public ChangeFeedStreamHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(ChangeFeedProcessorContext, Stream, CancellationToken, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(ChangeFeedProcessorContext context, Stream changes, CancellationToken cancellationToken, AsyncCallback callback, object @object)
Parameters
context
ChangeFeedProcessorContextchanges
StreamcancellationToken
CancellationTokencallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual Task EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(ChangeFeedProcessorContext, Stream, CancellationToken)
public virtual Task Invoke(ChangeFeedProcessorContext context, Stream changes, CancellationToken cancellationToken)
Parameters
context
ChangeFeedProcessorContextchanges
StreamcancellationToken
CancellationToken