Observable.FromAsyncPattern<T1, T2, T3> 方法 (Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>)

命名空间:  Microsoft.Phone.Reactive
程序集:  Microsoft.Phone.Reactive(在 Microsoft.Phone.Reactive.dll 中)

语法

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

类型参数

  • T1
  • T2
  • T3

参数

返回值

类型:System.Func<T1, T2, T3, IObservable<Unit>>

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

请参阅

参考

Observable 类

FromAsyncPattern 重载

Microsoft.Phone.Reactive 命名空间