IConnectionManager.GetConnectionContext<T> Method
.NET Framework 4
Returns a IPersistentConnectionContext for the PersistentConnection.
Namespace: Microsoft.AspNet.SignalR.Infrastructure
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function GetConnectionContext(Of T As PersistentConnection) As IPersistentConnectionContext
'Usage
Dim instance As IConnectionManager
Dim returnValue As IPersistentConnectionContext
returnValue = instance.GetConnectionContext()
IPersistentConnectionContext GetConnectionContext<T>()
where T : PersistentConnection
generic<typename T>
where T : PersistentConnection
IPersistentConnectionContext^ GetConnectionContext()
abstract GetConnectionContext : unit -> IPersistentConnectionContext when 'T : PersistentConnection
JScript does not support generic types and methods.
Type Parameters
- T
Type of the PersistentConnection.
Return Value
Type: Microsoft.AspNet.SignalR.IPersistentConnectionContext
A IPersistentConnectionContext for the PersistentConnection.