Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Observable.Replay<TSource> Method (IObservable<TSource>, Int32, IScheduler)

March 22, 2012

Returns a connectable observable sequence that shares a single subscription to the underlying source replaying bufferSize notifications within window.

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

public static IConnectableObservable<TSource> Replay<TSource>(
	this IObservable<TSource> source,
	int bufferSize,
	IScheduler scheduler
)

Type Parameters

TSource

Parameters

source
Type: System.IObservable<TSource>
bufferSize
Type: System.Int32
scheduler
Type: Microsoft.Phone.Reactive.IScheduler

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<TSource>. When you use instance method syntax to call this method, omit the first parameter.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft