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
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | Source sequence. |
Returns: IObservable
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |