Share via


ChangeFeedEventHost.UnregisterObserversAsync Method

Definition

Asynchronously shuts down the host instance. This method maintains the leases on all partitions currently held, and enables each host instance to shut down cleanly by invoking the method with object.

public System.Threading.Tasks.Task UnregisterObserversAsync ();
member this.UnregisterObserversAsync : unit -> System.Threading.Tasks.Task
Public Function UnregisterObserversAsync () As Task

Returns

A task that indicates the host instance has stopped.

Applies to