This topic has not yet been rated - Rate this topic

ControlObservable.ObserveOn(Of TSource) Method

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Windows.Forms (in System.Reactive.Windows.Forms.dll)
'Declaration
<ExtensionAttribute> _
Public Shared Function ObserveOn(Of TSource) ( _
	source As IObservable(Of TSource), _
	control As Control _
) As IObservable(Of TSource)
'Usage
Dim source As IObservable(Of TSource)
Dim control As Control
Dim returnValue As IObservable(Of TSource)

returnValue = source.ObserveOn(control)

Type Parameters

TSource

Parameters

source
Type: System.IObservable(Of TSource)
control
Type: System.Windows.Forms.Control

Return Value

Type: System.IObservable(Of TSource)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable(Of TSource). When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.