Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IObserver<T>::OnNext Method (T)

.NET Framework (current version)
 

Provides the observer with new data.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

void OnNext(
	T value
)

Parameters

value
Type: T

The current notification information.

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.

No code example is currently available or this language may not be supported.

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
Return to top
Show:
© 2017 Microsoft