Qbservable.Throw(IQbservableProvider, Exception) method¶
Defined in
Type: Qbservable Namespace: System.Reactive.Linq Assembly: System.Reactive.dll
Applies to
netstandard2.0, net472
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 (opens in a new tab) | -- |
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 (opens in a new tab) | -- |
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 (opens in a new tab) | -- |
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 (opens in a new tab) | -- |
witness | TResult | -- |
Returns: IQbservable