Qbservable.FromAsyncPattern(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult) Method (IQbservableProvider, Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult)), Expression(Of Func(Of IAsyncResult, TResult)))
Converts a Begin/End invoke function pair into an asynchronous function.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
'Declaration <ExtensionAttribute> _ Public Shared Function FromAsyncPattern(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult) ( _ provider As IQbservableProvider, _ begin As Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult)), _ end As Expression(Of Func(Of IAsyncResult, TResult)) _ ) As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IQbservable(Of TResult)) 'Usage Dim provider As IQbservableProvider Dim begin As Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult)) Dim end As Expression(Of Func(Of IAsyncResult, TResult)) Dim returnValue As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IQbservable(Of TResult)) returnValue = provider.FromAsyncPattern(begin, _ end)
Type Parameters
- T1
The first type of function.
- T2
The second type of function.
- T3
The third type of function.
- T4
The fourth type of function.
- T5
The fifth type of function.
- T6
The sixth type of function.
- T7
The seventh type of function.
- T8
The eighth type of function.
- T9
The ninth type of function.
- T10
The tenth type of function.
- TResult
The type of result.
Parameters
- provider
- Type: System.Reactive.Linq.IQbservableProvider
The local Qbservable provider.
- begin
- Type: System.Linq.Expressions.Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult))
The begin invoke function.
- end
- Type: System.Linq.Expressions.Expression(Of Func(Of IAsyncResult, TResult))
The end invoke function.
Return Value
Type: System.Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IQbservable(Of TResult))A Begin/End invoke function pair.