Metodo Observable.FromAsyncPattern<T1, T2, T3, TResult> (Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>)
Spazio dei nomi: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Sintassi
'Dichiarazione
Public Shared Function FromAsyncPattern(Of T1, T2, T3, TResult) ( _
begin As Func(Of T1, T2, T3, AsyncCallback, Object, IAsyncResult), _
end As Func(Of IAsyncResult, TResult) _
) As Func(Of T1, T2, T3, IObservable(Of TResult))
public static Func<T1, T2, T3, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, TResult>(
Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult> begin,
Func<IAsyncResult, TResult> end
)
public:
generic<typename T1, typename T2, typename T3, typename TResult>
static Func<T1, T2, T3, IObservable<TResult>^>^ FromAsyncPattern(
Func<T1, T2, T3, AsyncCallback^, Object^, IAsyncResult^>^ begin,
Func<IAsyncResult^, TResult>^ end
)
static member FromAsyncPattern :
begin:Func<'T1, 'T2, 'T3, AsyncCallback, Object, IAsyncResult> *
end:Func<IAsyncResult, 'TResult> -> Func<'T1, 'T2, 'T3, IObservable<'TResult>>
Parametri di tipo
- T1
- T2
- T3
- TResult
Parametri
- begin
Tipo: System.Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult>
- end
Tipo: System.Func<IAsyncResult, TResult>
Valore restituito
Tipo: System.Func<T1, T2, T3, IObservable<TResult>>
Informazioni sulla versione
.NET per applicazioni Windows Phone
Supportato in: Windows Phone 8, Silverlight 8.1
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.