Observable.Defer<TValue> Method

March 22, 2012

Returns an observable sequence that invokes the observableFactory function whenever a new observer subscribes.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<TValue> Defer<TValue>(
	Func<IObservable<TValue>> observableFactory
)

Type Parameters

TValue

Parameters

observableFactory
Type: System.Func<IObservable<TValue>>

Return Value

Type: System.IObservable<TValue>
Returns IObservable<T>.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: