Notification<T> Class

Inheritance Hierarchy

System.Object
  Microsoft.Phone.Reactive.Notification<T>
    Microsoft.Phone.Reactive.Notification<T>.OnCompleted
    Microsoft.Phone.Reactive.Notification<T>.OnError
    Microsoft.Phone.Reactive.Notification<T>.OnNext

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

Syntax

'Declaration
Public MustInherit Class Notification(Of T) _
    Implements IEquatable(Of Notification(Of T))
public abstract class Notification<T> : IEquatable<Notification<T>>
generic<typename T>
public ref class Notification abstract : IEquatable<Notification<T>^>
[<AbstractClass>]
type Notification<'T> =  
    class 
        interface IEquatable<Notification<'T>>
    end

Type Parameters

  • T

The Notification<T> type exposes the following members.

Properties

  Name Description
Public property Exception
Public property HasValue
Public property Kind
Public property Value

Top

Methods

  Name Description
Public method Accept(IObserver<T>)
Public method Accept(Action<T>, Action<Exception>, Action)
Public method Accept<TResult>(IObserver<T, TResult>)
Public method Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)
Public method Equals(Notification<T>)
Public method Equals(Object) (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality
Public operatorStatic member Inequality

Top

Extension Methods

  Name Description
Public Extension Method ToObservable<T>() Overloaded. (Defined by Notification.)
Public Extension Method ToObservable<T>(IScheduler) Overloaded. (Defined by Notification.)

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

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

Microsoft.Phone.Reactive Namespace