异步调用函数。
Namespace:System.Reactive.Linq
装配: System.Reactive.Providers.dll) 中的 System.Reactive.Providers (
语法
'Declaration
<ExtensionAttribute> _
Public Shared Function Start(Of TSource) ( _
provider As IQbservableProvider, _
function As Expression(Of Func(Of TSource)) _
) As IQbservable(Of TSource)
'Usage
Dim provider As IQbservableProvider
Dim function As Expression(Of Func(Of TSource))
Dim returnValue As IQbservable(Of TSource)
returnValue = provider.Start(function)
public static IQbservable<TSource> Start<TSource>(
this IQbservableProvider provider,
Expression<Func<TSource>> function
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TSource>^ Start(
IQbservableProvider^ provider,
Expression<Func<TSource>^>^ function
)
static member Start :
provider:IQbservableProvider *
function:Expression<Func<'TSource>> -> IQbservable<'TSource>
JScript does not support generic types and methods.
类型参数
- TSource
源的类型。
parameters
- provider
类型: System.Reactive.Linq.IQbservableProvider
本地 Qbservable 提供程序。
- function
类型: System.Linq.Expressions.Expression<Func<TSource>>
用于同步的函数。
返回值
类型: System.Reactive.Linq.IQbservable<TSource>
异步函数。
使用说明
在 Visual Basic 和 C# 中,可以将此方法作为 IQbservableProvider 类型的任何对象的实例方法调用。 当使用实例方法语法调用此方法时,请省略第一个参数。 有关详细信息,请参阅或。