mscorlib(4.0.0.0) API with additions
System.IObserver< in in T > Interface Template Reference

Provides a mechanism for receiving push-based notifications. More...

Public Member Functions

void OnNext (T value)
 Provides the observer with new data. More...
 
void OnError (Exception error)
 Notifies the observer that the provider has experienced an error condition. More...
 
void OnCompleted ()
 Notifies the observer that the provider has finished sending push-based notifications. More...
 

Detailed Description

Provides a mechanism for receiving push-based notifications.

Template Parameters
TThe object that provides notification information.

Definition at line 6 of file IObserver.cs.

Member Function Documentation

◆ OnCompleted()

void System.IObserver< in in T >.OnCompleted ( )

Notifies the observer that the provider has finished sending push-based notifications.

◆ OnError()

void System.IObserver< in in T >.OnError ( Exception  error)

Notifies the observer that the provider has experienced an error condition.

Parameters
errorAn object that provides additional information about the error.

◆ OnNext()

void System.IObserver< in in T >.OnNext ( T  value)

Provides the observer with new data.

Parameters
valueThe current notification information.

The documentation for this interface was generated from the following file: