Export (0) Print
Expand All

Observable.Empty(Of TResult) Method (IScheduler)

Returns an empty observable sequence with the specified scheduler.

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

'Declaration
Public Shared Function Empty(Of TResult) ( _
	scheduler As IScheduler _
) As IObservable(Of TResult)
'Usage
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of TResult)

returnValue = Observable.Empty(scheduler)

Type Parameters

TResult

The type of result.

Parameters

scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to send the termination call.

Return Value

Type: System.IObservable(Of TResult)
The observable sequence with no elements.
Show:
© 2014 Microsoft