Qbservable.Throw(IQbservableProvider, Exception) method¶
Defined in
Type: Qbservable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
net8.0, net8.0-windows10.0.19041, netstandard2.0
Overloads¶
-
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception) -
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, IScheduler scheduler) -
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, IScheduler scheduler, TResult witness) -
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, TResult witness)
1. Overload¶
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception)
Type parameters
| Name | Description |
|---|---|
TResult | -- |
Parameters
| Name | Type | Description |
|---|---|---|
provider | [IQbservableProvider](# | -- |
exception | Exception | -- |
Returns: IQbservable
2. Overload¶
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, IScheduler scheduler)
Type parameters
| Name | Description |
|---|---|
TResult | -- |
Parameters
| Name | Type | Description |
|---|---|---|
provider | [IQbservableProvider](# | -- |
exception | Exception | -- |
scheduler | [IScheduler](# | -- |
Returns: IQbservable
3. Overload¶
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, IScheduler scheduler, TResult witness)
Type parameters
| Name | Description |
|---|---|
TResult | -- |
Parameters
| Name | Type | Description |
|---|---|---|
provider | [IQbservableProvider](# | -- |
exception | Exception | -- |
scheduler | [IScheduler](# | -- |
witness | TResult | -- |
Returns: IQbservable
4. Overload¶
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, TResult witness)
Type parameters
| Name | Description |
|---|---|
TResult | -- |
Parameters
| Name | Type | Description |
|---|---|---|
provider | [IQbservableProvider](# | -- |
exception | Exception | -- |
witness | TResult | -- |
Returns: IQbservable