Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
| Name | Description | |
|---|---|---|
![]() |
Exception | Returns the exception of an OnError notification or returns null. |
![]() |
HasValue | Returns a value that indicates whether the notification has a value. |
![]() |
Kind | Gets the kind of notification that is represented. |
![]() |
Value | Returns the value of an OnNext notification or throws an exception. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Accept(IObserver<T>) | Invokes the observer's method corresponding to the notification. |
![]() |
Accept(Action<T>, Action<Exception>, Action) | Invokes the delegate corresponding to the notification. |
![]() |
Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>) | Invokes the delegate corresponding to the notification and returns the produced result. |
![]() |
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides Object.Equals(Object).) |
![]() |
Equals(Notification<T>) | Indicates whether this instance and other are equal. |
![]() |
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
| Name | Description | |
|---|---|---|
![]() ![]() |
Equality | Indicates whether left and right arguments are equal. |
![]() ![]() |
Inequality | Indicates 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.
.gif)
.gif)
.gif)
.gif)
.gif)