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, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.0
Overloads¶
- 1.
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception) - 2.
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, IScheduler scheduler) - 3.
public static IQbservable<TResult> Throw<TResult>(this IQbservableProvider provider, Exception exception, IScheduler scheduler, TResult witness) - 4.
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