Skip to content

)} )}

AsyncInfoObservableExtensions.ToObservableProgress(IAsyncActionWithProgress) method

Defined in

Type: AsyncInfoObservableExtensions Namespace: System.Reactive.Windows.Foundation Assembly: System.Reactive.dll

Applies to

net8.0-windows10.0.19041

Overloads

  • 1. public static IObservable<TProgress> ToObservableProgress<TProgress>(this IAsyncActionWithProgress<TProgress> source)
  • 2. public static IObservable<TProgress> ToObservableProgress<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)

1. Overload

public static IObservable<TProgress> ToObservableProgress<TProgress>(this IAsyncActionWithProgress<TProgress> source)

Type parameters

NameDescription
TProgress--

Parameters

NameTypeDescription
sourceIAsyncActionWithProgress<TProgress>--

Returns: IObservable

2. Overload

public static IObservable<TProgress> ToObservableProgress<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)

Type parameters

NameDescription
TResult--
TProgress--

Parameters

NameTypeDescription
sourceIAsyncOperationWithProgress<TResult, TProgress>--

Returns: IObservable