Delegate Container.ChangeFeedStreamHandler
Delegate to receive the changes within a ChangeFeedProcessor execution.
public delegate Task Container.ChangeFeedStreamHandler(ChangeFeedProcessorContext context, Stream changes, CancellationToken cancellationToken)
Parameters
contextChangeFeedProcessorContextThe context related to the changes.
changesStreamThe changes that happened.
cancellationTokenCancellationTokenA 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
contextChangeFeedProcessorContextchangesStreamcancellationTokenCancellationTokencallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual Task EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(ChangeFeedProcessorContext, Stream, CancellationToken)
public virtual Task Invoke(ChangeFeedProcessorContext context, Stream changes, CancellationToken cancellationToken)
Parameters
contextChangeFeedProcessorContextchangesStreamcancellationTokenCancellationToken