ChangeFeedEventHost.RegisterObserverAsync<T> 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 interface 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 RegisterObserverAsync<T> () where T : Microsoft.Azure.Documents.ChangeFeedProcessor.IChangeFeedObserver, new();
member this.RegisterObserverAsync : unit -> System.Threading.Tasks.Task (requires 'T :> Microsoft.Azure.Documents.ChangeFeedProcessor.IChangeFeedObserver and 'T : (new : unit -> 'T))
Public Function RegisterObserverAsync(Of T As {IChangeFeedObserverNew}) () As Task
Type Parameters
- T
Implementation of your application-specific event observer.
Returns
A task indicating that the ChangeFeedEventHost instance has started.
Applies to
Azure SDK for .NET
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: