Bagikan melalui


Observable.Never<TResult> Method

Returns a non-terminating observable sequence.

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

Syntax

'Declaration
Public Shared Function Never(Of TResult) As IObservable(Of TResult)
'Usage
Dim returnValue As IObservable(Of TResult)

returnValue = Observable.Never()
public static IObservable<TResult> Never<TResult>()
public:
generic<typename TResult>
static IObservable<TResult>^ Never()
static member Never : unit -> IObservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.

Return Value

Type: System.IObservable<TResult>
A non-terminating observable sequence.

See Also

Reference

Observable Class

System.Reactive.Linq Namespace