Export (0) Print
Expand All

BehaviorSubject<T> Class

March 22, 2012

Represents a value that changes over time.


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

public class BehaviorSubject<T> : ReplaySubject<T>

Type Parameters


The BehaviorSubject<T> type exposes the following members.

Public methodBehaviorSubject<T>(T)Creates a subject that caches its last value and starts with the specified value.
Public methodBehaviorSubject<T>(T, IScheduler)Creates a subject that caches its last value and starts with the specified value.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnCompletedNotifies all subscribed observers of the end of the sequence. (Inherited from ReplaySubject<T>.)
Public methodOnErrorNotifies all subscribed observers with the exception. (Inherited from ReplaySubject<T>.)
Public methodOnNextNotifies all subscribed observers with the value. (Inherited from ReplaySubject<T>.)
Public methodSubscribeSubscribes an observer to the subject. (Inherited from ReplaySubject<T>.)
Public methodToString (Inherited from Object.)

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2015 Microsoft