Skip to content

)}

Observable.ResetExceptionDispatchState(IObservable) method

Defined in

Type: Observable Namespace: System.Reactive.Linq Assembly: System.Reactive.dll

Applies to

netstandard2.0

public static IObservable<TSource> ResetExceptionDispatchState<TSource>(this IObservable<TSource> source)

Summary: Propagates all messages, but if source produces an error, this updates the dispatch state of the Exception to reflect the current execution context (by executing a throw or equivalent operation) before passing the notification on.

Type parameters

NameDescription
TSourceThe type of the elements in the source sequence.

Parameters

NameTypeDescription
sourceIObservableSource sequence.

Returns: IObservable -- The source sequence with the exception dispatch state modifying behavior applied.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource is null.