Observable

Observable.FromAsyncPattern Method

Include Protected Members
Include Inherited Members

Converts a Begin/End invoke function pair 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

NameDescriptionPublic methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern(Func<AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern(Func<AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern(Func<T1, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, TResult>(Func<T1, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2>(Func<T1, T2, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, TResult>(Func<T1, T2, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3>(Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, TResult>(Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4>(Func<T1, T2, T3, T4, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, AsyncCallback, Object, IAsyncResult>, Action)Converts a Begin/End invoke function pair into an asynchronous function.Public methodStatic memberFromAsyncPattern<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)Converts a Begin/End invoke function pair into an asynchronous function.Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace

Observable.FromAsyncPattern Method (Func<AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>)

Converts a Begin/End invoke function pair into an asynchronous function.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Shared Function FromAsyncPattern ( _
    begin As Func(Of AsyncCallback, Object, IAsyncResult), _
    end As Action(Of IAsyncResult) _
) As Func(Of IObservable(Of Unit))
'Usage
Dim begin As Func(Of AsyncCallback, Object, IAsyncResult)
Dim end As Action(Of IAsyncResult)
Dim returnValue As Func(Of IObservable(Of Unit))

returnValue = Observable.FromAsyncPattern(begin, _
    end)
public static Func<IObservable<Unit>> FromAsyncPattern(
    Func<AsyncCallback, Object, IAsyncResult> begin,
    Action<IAsyncResult> end
)
public:
static Func<IObservable<Unit>^>^ FromAsyncPattern(
    Func<AsyncCallback^, Object^, IAsyncResult^>^ begin, 
    Action<IAsyncResult^>^ end
)
static member FromAsyncPattern : 
        begin:Func<AsyncCallback, Object, IAsyncResult> * 
        end:Action<IAsyncResult> -> Func<IObservable<Unit>> 
public static function FromAsyncPattern(
    begin : Func<AsyncCallback, Object, IAsyncResult>, 
    end : Action<IAsyncResult>
) : Func<IObservable<Unit>>

Parameters

Return Value

Type: System.Func<IObservable<Unit>>
A Begin/End invoke function pair.

See Also

Reference

Observable Class

FromAsyncPattern Overload

System.Reactive.Linq Namespace