Metodo Observable.ToAsync<T1, T2, T3, T4, TResult> (Func<T1, T2, T3, T4, TResult>, IScheduler)

Spazio dei nomi:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Function ToAsync(Of T1, T2, T3, T4, TResult) ( _
    function As Func(Of T1, T2, T3, T4, TResult), _
    scheduler As IScheduler _
) As Func(Of T1, T2, T3, T4, IObservable(Of TResult))
public static Func<T1, T2, T3, T4, IObservable<TResult>> ToAsync<T1, T2, T3, T4, TResult>(
    this Func<T1, T2, T3, T4, TResult> function,
    IScheduler scheduler
)
[ExtensionAttribute]
public:
generic<typename T1, typename T2, typename T3, typename T4, typename TResult>
static Func<T1, T2, T3, T4, IObservable<TResult>^>^ ToAsync(
    Func<T1, T2, T3, T4, TResult>^ function, 
    IScheduler^ scheduler
)
static member ToAsync : 
        function:Func<'T1, 'T2, 'T3, 'T4, 'TResult> * 
        scheduler:IScheduler -> Func<'T1, 'T2, 'T3, 'T4, IObservable<'TResult>> 

Parametri di tipo

  • T1
  • T2
  • T3
  • T4
  • TResult

Parametri

Valore restituito

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

Nota sull'utilizzo

In Visual Basic e C# è possibile chiamare questo metodo come metodo di istanza su qualsiasi oggetto di tipo Func<T1, T2, T3, T4, TResult>. Per chiamare il metodo utilizzando la sintassi del metodo di istanza, omettere il primo parametro. Per ulteriori informazioni, vedere Metodi di estensione (Visual Basic) o Metodi di estensione (Guida per programmatori C#).

Informazioni sulla versione

.NET per applicazioni Windows Phone

Supportato in: Windows Phone 8, Silverlight 8.1

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Observable Classe

Overload ToAsync

Spazio dei nomi Microsoft.Phone.Reactive