Share via


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

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

Syntax

'Declaration
Public Shared Function FromAsyncPattern(Of T1, T2, T3) ( _
    begin As Func(Of T1, T2, T3, AsyncCallback, Object, IAsyncResult), _
    end As Action(Of IAsyncResult) _
) As Func(Of T1, T2, T3, IObservable(Of Unit))
public static Func<T1, T2, T3, IObservable<Unit>> FromAsyncPattern<T1, T2, T3>(
    Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult> begin,
    Action<IAsyncResult> end
)
public:
generic<typename T1, typename T2, typename T3>
static Func<T1, T2, T3, IObservable<Unit>^>^ FromAsyncPattern(
    Func<T1, T2, T3, AsyncCallback^, Object^, IAsyncResult^>^ begin, 
    Action<IAsyncResult^>^ end
)
static member FromAsyncPattern : 
        begin:Func<'T1, 'T2, 'T3, AsyncCallback, Object, IAsyncResult> * 
        end:Action<IAsyncResult> -> Func<'T1, 'T2, 'T3, IObservable<Unit>> 

Type Parameters

  • T1
  • T2
  • T3

Parameters

Return Value

Type: System.Func<T1, T2, T3, IObservable<Unit>>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

FromAsyncPattern Overload

Microsoft.Phone.Reactive Namespace