Método Observable.FromAsyncPattern<T1> (Func<T1, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>)
Namespace: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (em Microsoft.Phone.Reactive.dll)
Sintaxe
'Declaração
Public Shared Function FromAsyncPattern(Of T1) ( _
begin As Func(Of T1, AsyncCallback, Object, IAsyncResult), _
end As Action(Of IAsyncResult) _
) As Func(Of T1, IObservable(Of Unit))
public static Func<T1, IObservable<Unit>> FromAsyncPattern<T1>(
Func<T1, AsyncCallback, Object, IAsyncResult> begin,
Action<IAsyncResult> end
)
public:
generic<typename T1>
static Func<T1, IObservable<Unit>^>^ FromAsyncPattern(
Func<T1, AsyncCallback^, Object^, IAsyncResult^>^ begin,
Action<IAsyncResult^>^ end
)
static member FromAsyncPattern :
begin:Func<'T1, AsyncCallback, Object, IAsyncResult> *
end:Action<IAsyncResult> -> Func<'T1, IObservable<Unit>>
Parâmetros de tipo
- T1
Parâmetros
- begin
Tipo: System.Func<T1, AsyncCallback, Object, IAsyncResult>
- end
Tipo: System.Action<IAsyncResult>
Valor de retorno
Tipo: System.Func<T1, IObservable<Unit>>
Informações sobre versão
.NET para aplicativos do Windows Phone
Com suporte em: Windows Phone 8, Silverlight 8.1
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.