Export (0) Print
Expand All

Notification<T>.OnCompleted Class

March 22, 2012

Represents an OnCompleted notification to an observer.

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

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
XMLNS for XAML: Not mapped to an xmlns.

public sealed class OnCompleted : Notification<T>
<OnCompleted .../>

The Notification<T>.OnCompleted generic type exposes the following members.

  NameDescription
Public methodNotification<T>.OnCompletedConstructs a notification of the end of a sequence.
Top

  NameDescription
Public propertyExceptionReturns null. (Overrides Notification<T>.Exception.)
Public propertyHasValueReturns false. (Overrides Notification<T>.HasValue.)
Public propertyKindReturns OnCompleted. (Overrides Notification<T>.Kind.)
Public propertyValueThrows an InvalidOperationException. (Overrides Notification<T>.Value.)
Top

  NameDescription
Public methodAccept(IObserver<T>)Invokes the observer's method corresponding to the notification. (Inherited from Notification<T>) (Overrides Notification<T>.Accept(IObserver<T>).)
Public methodAccept(Action<T>, Action<Exception>, Action)Invokes the observer’s method or delegate corresponding to the notification. (Overrides Notification<T>.Accept(Action<T>, Action<Exception>, Action).)
Public methodAccept<TResult>(IObserver<T, TResult>)Invokes the observer's method corresponding to the notification and returns the produced result. (Inherited from Notification<T>.)
Public methodAccept<TResult>(IObserver<T, TResult>)Invokes the observer's method corresponding to the notification and returns the produced result. (Inherited from Notification<T>.) (Overrides Notification<T>.Accept<TResult>(IObserver<T, TResult>).)
Public methodAccept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)Invokes the delegate corresponding to the notification and returns the produced result. (Inherited from Notification<T>.)
Public methodAccept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)Invokes the delegate corresponding to the notification and returns the produced result. (Inherited from Notification<T>.) (Overrides Notification<T>.Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>).)
Public methodEquals(Object)Indicates whether this instance and a specified object are equal. (Inherited from Notification<T>.)
Public methodEquals(Notification<T>)Indicates whether this instance and other are equal. (Inherited from Notification<T>.) (Overrides Notification<T>.Equals(Notification<T>).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Overrides Notification<T>.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of this instance. (Overrides Object.ToString().)
Top

  NameDescription
Public Extension MethodToObservable<T>()Overloaded. Converts the Notification to an Observable. (Defined by Notification.)
Public Extension MethodToObservable<T>(IScheduler)Overloaded. Converts the Notification to an Observable. (Defined by Notification.)
Top

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.

Show:
© 2015 Microsoft