ChangeFeedEventHost.RegisterObserverFactoryAsync 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.
Asynchronously registers the observer factory implementation with the host. This method also starts the host and enables it to start participating in the partition distribution process.
public System.Threading.Tasks.Task RegisterObserverFactoryAsync (Microsoft.Azure.Documents.ChangeFeedProcessor.IChangeFeedObserverFactory factory);
member this.RegisterObserverFactoryAsync : Microsoft.Azure.Documents.ChangeFeedProcessor.IChangeFeedObserverFactory -> System.Threading.Tasks.Task
Public Function RegisterObserverFactoryAsync (factory As IChangeFeedObserverFactory) As Task
Parameters
- factory
- IChangeFeedObserverFactory
Implementation of your application-specific event observer factory.
Returns
A task indicating that the ChangeFeedEventHost instance has started.
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla