Qbservable.ToAsync Method (IQbservableProvider, Expression<Action>)
Converts the function into an asynchronous function.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ToAsync ( _
provider As IQbservableProvider, _
action As Expression(Of Action) _
) As Func(Of IQbservable(Of Unit))
'Usage
Dim provider As IQbservableProvider
Dim action As Expression(Of Action)
Dim returnValue As Func(Of IQbservable(Of Unit))
returnValue = provider.ToAsync(action)
public static Func<IQbservable<Unit>> ToAsync(
this IQbservableProvider provider,
Expression<Action> action
)
[ExtensionAttribute]
public:
static Func<IQbservable<Unit>^>^ ToAsync(
IQbservableProvider^ provider,
Expression<Action^>^ action
)
static member ToAsync :
provider:IQbservableProvider *
action:Expression<Action> -> Func<IQbservable<Unit>>
public static function ToAsync(
provider : IQbservableProvider,
action : Expression<Action>
) : Func<IQbservable<Unit>>
Parameters
provider
Type: System.Reactive.Linq.IQbservableProvider
The local Qbservable provider.action
Type: System.Linq.Expressions.Expression<Action>
The action used to synchronization.
Return Value
Type: System.Func<IQbservable<Unit>>
The function into an asynchronous function.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.ToAsync Method
Include Protected Members
Include Inherited Members
Converts the function into an asynchronous function.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
NameDescriptionToAsync
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>)Converts the function into an asynchronous function.
ToAsync<T1, T2>(IQbservableProvider, Expression<Action<T1, T2>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3>(IQbservableProvider, Expression<Action<T1, T2, T3>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4>(IQbservableProvider, Expression<Action<T1, T2, T3, T4>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>>)Converts the function into an asynchronous function.
ToAsync(IQbservableProvider, Expression
ToAsync
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>>)Converts the function into an asynchronous function.
ToAsync<TSource, TResult>(IQbservableProvider, Expression<Func<TSource, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, TResult>(IQbservableProvider, Expression<Func<T1, T2, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, TResult>>)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>>)Converts the function into an asynchronous function.
ToAsync
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2>(IQbservableProvider, Expression<Action<T1, T2>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3>(IQbservableProvider, Expression<Action<T1, T2, T3>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4>(IQbservableProvider, Expression<Action<T1, T2, T3, T4>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IQbservableProvider, Expression<Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>>, IScheduler)Converts the function into an asynchronous function.
ToAsync(IQbservableProvider, Expression
ToAsync
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<TSource, TResult>(IQbservableProvider, Expression<Func<TSource, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, TResult>(IQbservableProvider, Expression<Func<T1, T2, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, TResult>>, IScheduler)Converts the function into an asynchronous function.
ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(IQbservableProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>>, IScheduler)Converts the function into an asynchronous function.Top
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.ToAsync Method (IQbservableProvider, Expression<Action>, IScheduler)
Converts the function into an asynchronous function.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ToAsync ( _
provider As IQbservableProvider, _
action As Expression(Of Action), _
scheduler As IScheduler _
) As Func(Of IQbservable(Of Unit))
'Usage
Dim provider As IQbservableProvider
Dim action As Expression(Of Action)
Dim scheduler As IScheduler
Dim returnValue As Func(Of IQbservable(Of Unit))
returnValue = provider.ToAsync(action, _
scheduler)
public static Func<IQbservable<Unit>> ToAsync(
this IQbservableProvider provider,
Expression<Action> action,
IScheduler scheduler
)
[ExtensionAttribute]
public:
static Func<IQbservable<Unit>^>^ ToAsync(
IQbservableProvider^ provider,
Expression<Action^>^ action,
IScheduler^ scheduler
)
static member ToAsync :
provider:IQbservableProvider *
action:Expression<Action> *
scheduler:IScheduler -> Func<IQbservable<Unit>>
public static function ToAsync(
provider : IQbservableProvider,
action : Expression<Action>,
scheduler : IScheduler
) : Func<IQbservable<Unit>>
Parameters
provider
Type: System.Reactive.Linq.IQbservableProvider
The local Qbservable provider.action
Type: System.Linq.Expressions.Expression<Action>
The action used to synchronization.scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler used to synchronization.
Return Value
Type: System.Func<IQbservable<Unit>>
The function into an asynchronous function.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .