ConnectionExtensions.GetValue(Of T) Method

.NET Framework 4.5

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

<ExtensionAttribute> _
Public Shared Function GetValue(Of T) ( _
	connection As IConnection, _
	key As String _
) As T
Dim connection As IConnection 
Dim key As String 
Dim returnValue As T

returnValue = connection.GetValue(key)

Type Parameters


Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see or