IAsyncObserver<T>.OnErrorAsync(Exception) Method

Definition

Notifies the observer that the provider has experienced an error condition.

public System.Threading.Tasks.ValueTask OnErrorAsync(Exception error);
abstract member OnErrorAsync : Exception -> System.Threading.Tasks.ValueTask
Public Function OnErrorAsync (error As Exception) As ValueTask

Parameters

error
Exception

An object that provides additional information about the error.

Returns

A ValueTask representing the asynchronous operation.

Applies to