Notification<T> Class
Represents a notification to an observer.
Inheritance Hierarchy
System.Object
System.Reactive.Notification<T>
Namespace: System.Reactive
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public MustInherit Class Notification(Of T) _
Implements IEquatable(Of Notification(Of T))
'Usage
Dim instance As Notification(Of T)
[SerializableAttribute]
public abstract class Notification<T> : IEquatable<Notification<T>>
[SerializableAttribute]
generic<typename T>
public ref class Notification abstract : IEquatable<Notification<T>^>
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type Notification<'T> =
class
interface IEquatable<Notification<'T>>
end
JScript does not support generic types and methods.
Type Parameters
- T
The notification argument type.
The Notification<T> type exposes the following members.
Properties
NameDescriptionExceptionReturns the exception of an OnError notification or returns null.
HasValueReturns a value that indicates whether the notification has a value.
KindGets the kind of notification that is represented.
ValueReturns the value of an OnNext notification or throws an exception.Top
Methods
NameDescriptionAccept(IObserver
Accept(Action
Accept
Equals(Object)Indicates whether this instance and a specified object are equal. (Overrides Object.Equals(Object).)
Equals(Notification
Finalize(Inherited from Object.)
GetHashCode(Inherited from Object.)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToObservable()Returns an observable sequence with a single notification, using the immediate scheduler.
ToObservable(IScheduler)Returns an observable sequence with a single notification.
ToString(Inherited from Object.)Top
Operators
NameDescriptionEqualityIndicates whether left and right arguments are equal.
InequalityIndicates whether left and right arguments are not equal.Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Notification<T> Properties
Include Protected Members
Include Inherited Members
The Notification<T> type exposes the following members.
Properties
NameDescriptionExceptionReturns the exception of an OnError notification or returns null.
HasValueReturns a value that indicates whether the notification has a value.
KindGets the kind of notification that is represented.
ValueReturns the value of an OnNext notification or throws an exception.Top
See Also
Reference
Notification<T> Methods
Include Protected Members
Include Inherited Members
The Notification<T> type exposes the following members.
Methods
NameDescriptionAccept(IObserver
Accept(Action
Accept
Equals(Object)Indicates whether this instance and a specified object are equal. (Overrides Object.Equals(Object).)
Equals(Notification
Finalize(Inherited from Object.)
GetHashCode(Inherited from Object.)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToObservable()Returns an observable sequence with a single notification, using the immediate scheduler.
ToObservable(IScheduler)Returns an observable sequence with a single notification.
ToString(Inherited from Object.)Top
See Also
Reference
Notification<T> Operators
Include Protected Members
Include Inherited Members
The Notification<T> type exposes the following members.
Operators
NameDescriptionEqualityIndicates whether left and right arguments are equal.
InequalityIndicates whether left and right arguments are not equal.Top