Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ConnectionExtensions.AsObservable(Of T) Method (Connection, Func(Of String, T))

.NET Framework 4.5

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
'Declaration
<ExtensionAttribute> _
Public Shared Function AsObservable(Of T) ( _
	connection As Connection, _
	selector As Func(Of String, T) _
) As IObservable(Of T)
'Usage
Dim connection As Connection 
Dim selector As Func(Of String, T)
Dim returnValue As IObservable(Of T)

returnValue = connection.AsObservable(selector)

Type Parameters

T

Parameters

connection
Type: Microsoft.AspNet.SignalR.Client.Connection
selector
Type: System.Func(Of String, T)

Return Value

Type: System.IObservable(Of T)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Connection. 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.111).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).aspx.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.