Share via


ObservableConnection<T> Constructor

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    connection As Connection, _
    convert As Func(Of String, T) _
)
'Usage
Dim connection As Connection 
Dim convert As Func(Of String, T)

Dim instance As New ObservableConnection(connection, _
    convert)
public ObservableConnection(
    Connection connection,
    Func<string, T> convert
)
public:
ObservableConnection(
    Connection^ connection, 
    Func<String^, T>^ convert
)
new : 
        connection:Connection * 
        convert:Func<string, 'T> -> ObservableConnection
public function ObservableConnection(
    connection : Connection, 
    convert : Func<String, T>
)

Parameters

See Also

Reference

ObservableConnection<T> Class

Microsoft.AspNet.SignalR.Client Namespace