IChangeFeedObserver.CloseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is called when change feed observer is closed.
public System.Threading.Tasks.Task CloseAsync (Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedObserverContext context, Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedObserverCloseReason reason);
abstract member CloseAsync : Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedObserverContext * Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedObserverCloseReason -> System.Threading.Tasks.Task
Public Function CloseAsync (context As ChangeFeedObserverContext, reason As ChangeFeedObserverCloseReason) As Task
Parameters
- context
- ChangeFeedObserverContext
The context specifying partition for this observer, etc.
Specifies the reason the observer is closed.
Returns
A Task to allow asynchronous execution.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET