Share via


Notification<T>.ToObservable Method

Returns an observable sequence with a single notification, using the immediate scheduler.

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

Syntax

'Declaration
Public Function ToObservable As IObservable(Of T)
'Usage
Dim instance As Notification
Dim returnValue As IObservable(Of T)

returnValue = instance.ToObservable()
public IObservable<T> ToObservable()
public:
IObservable<T>^ ToObservable()
member ToObservable : unit -> IObservable<'T> 
public function ToObservable() : IObservable<T>

Return Value

Type: System.IObservable<T>
The observable sequence that surfaces the behavior of the notification upon subscription.

See Also

Reference

Notification<T> Class

ToObservable Overload

System.Reactive Namespace