IObserver<T>.OnNext Method (T)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Provides the observer with new data.
Assembly: mscorlib (in mscorlib.dll)
After an observer has called a provider's IObservable<T>.Subscribe method, the provider calls the observer's OnNext method to provide notifications.
The following example provides an implementation of the OnNext method in a latitude/longitude tracking application. See the Example section of the IObserver<T> topic for the complete example.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: