Partager via


Observable.FromAsyncPattern<T1, T2, T3, T4>, méthode (Func<T1, T2, T3, T4, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>)

Espace de noms :  Microsoft.Phone.Reactive
Assembly :  Microsoft.Phone.Reactive (dans Microsoft.Phone.Reactive.dll)

Syntaxe

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

Paramètres de type

  • T1
  • T2
  • T3
  • T4

Paramètres

Valeur de retour

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

Informations de version

.NET pour les applications Windows Phone

Pris en charge dans : Windows Phone 8, Silverlight 8.1

Sécurité .NET Framework

Voir aussi

Référence

Observable Classe

FromAsyncPattern, surcharge

Microsoft.Phone.Reactive, espace de noms