Qbservable.Create<TSource> Method (IQbservableProvider, Expression<Func<IObserver<TSource>, IDisposable>>)

Creates a queryable observable sequence from a specified subscribe method implementation with a specified subscribe.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create(Of TSource) ( _
    provider As IQbservableProvider, _
    subscribe As Expression(Of Func(Of IObserver(Of TSource), IDisposable)) _
) As IQbservable(Of TSource)
'Usage
Dim provider As IQbservableProvider
Dim subscribe As Expression(Of Func(Of IObserver(Of TSource), IDisposable))
Dim returnValue As IQbservable(Of TSource)

returnValue = provider.Create(subscribe)
public static IQbservable<TSource> Create<TSource>(
    this IQbservableProvider provider,
    Expression<Func<IObserver<TSource>, IDisposable>> subscribe
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TSource>^ Create(
    IQbservableProvider^ provider, 
    Expression<Func<IObserver<TSource>^, IDisposable^>^>^ subscribe
)
static member Create : 
        provider:IQbservableProvider * 
        subscribe:Expression<Func<IObserver<'TSource>, IDisposable>> -> IQbservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
The queryable observable sequence with the specified implementation for the subscribe method.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Create Overload

System.Reactive.Linq Namespace