IObserver<TValue, TResult> Interface

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

Syntax

'Declaration
Public Interface IObserver(Of In TValue, Out TResult)
public interface IObserver<in TValue, out TResult>
generic<typename TValue, typename TResult>
public interface class IObserver
type IObserver<'TValue, 'TResult> =  interface end

Type Parameters

  • in TValue
    This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
  • out TResult
    This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

The IObserver<TValue, TResult> type exposes the following members.

Methods

  Name Description
Public method OnCompleted
Public method OnError
Public method OnNext

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

See Also

Reference

Microsoft.Phone.Reactive Namespace