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

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

Syntax

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

Type Parameters

  • T1
  • T2
  • T3
  • T4
  • T5
  • TResult

Parameters

Return Value

Type: System.Func<T1, T2, T3, T4, T5, IObservable<TResult>>

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