Partager via


Observable.FromAsyncPattern, méthode (Func<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 ( _
    begin As Func(Of AsyncCallback, Object, IAsyncResult), _
    end As Action(Of IAsyncResult) _
) As Func(Of IObservable(Of Unit))
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>> 

Paramètres

Valeur de retour

Type : System.Func<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