Qbservable

Qbservable.Empty<TResult> Method (IQbservableProvider)

Returns an empty queryable observable sequence with the specified provider.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Empty(Of TResult) ( _
    provider As IQbservableProvider _
) As IQbservable(Of TResult)
'Usage
Dim provider As IQbservableProvider
Dim returnValue As IQbservable(Of TResult)

returnValue = provider.Empty()
public static IQbservable<TResult> Empty<TResult>(
    this IQbservableProvider provider
)
[ExtensionAttribute]
public:
generic<typename TResult>
static IQbservable<TResult>^ Empty(
    IQbservableProvider^ provider
)
static member Empty : 
        provider:IQbservableProvider -> IQbservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TResult>
The queryable observable sequence with the specified provider.

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

Empty Overload

System.Reactive.Linq Namespace

Qbservable.Empty<TResult> Method (IQbservableProvider, IScheduler)

Returns an empty queryable observable sequence with the specified scheduler and provider.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Empty(Of TResult) ( _
    provider As IQbservableProvider, _
    scheduler As IScheduler _
) As IQbservable(Of TResult)
'Usage
Dim provider As IQbservableProvider
Dim scheduler As IScheduler
Dim returnValue As IQbservable(Of TResult)

returnValue = provider.Empty(scheduler)
public static IQbservable<TResult> Empty<TResult>(
    this IQbservableProvider provider,
    IScheduler scheduler
)
[ExtensionAttribute]
public:
generic<typename TResult>
static IQbservable<TResult>^ Empty(
    IQbservableProvider^ provider, 
    IScheduler^ scheduler
)
static member Empty : 
        provider:IQbservableProvider * 
        scheduler:IScheduler -> IQbservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TResult>
The observable sequence with no elements.

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

Empty Overload

System.Reactive.Linq Namespace