IAsyncObserver<T>.OnCompletedAsync 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.
Notifies the consumer that the stream was completed.
The Task returned from this method should be completed when the consumer is done processing the stream closure.
public System.Threading.Tasks.Task OnCompletedAsync();
public virtual System.Threading.Tasks.Task OnCompletedAsync();
abstract member OnCompletedAsync : unit -> System.Threading.Tasks.Task
abstract member OnCompletedAsync : unit -> System.Threading.Tasks.Task
override this.OnCompletedAsync : unit -> System.Threading.Tasks.Task
Public Function OnCompletedAsync () As Task
Public Overridable Function OnCompletedAsync () As Task
Returns
A Task that is completed when the stream-complete operation has been accepted.