ITransportHeartbeat.AddConnection Method
.NET Framework 4
Adds a new connection to the list of tracked connections.
Namespace: Microsoft.AspNet.SignalR.Transports
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function AddConnection ( _
connection As ITrackingConnection _
) As Boolean
'Usage
Dim instance As ITransportHeartbeat
Dim connection As ITrackingConnection
Dim returnValue As Boolean
returnValue = instance.AddConnection(connection)
bool AddConnection(
ITrackingConnection connection
)
bool AddConnection(
ITrackingConnection^ connection
)
abstract AddConnection :
connection:ITrackingConnection -> bool
function AddConnection(
connection : ITrackingConnection
) : boolean
Parameters
- connection
Type: Microsoft.AspNet.SignalR.Transports.ITrackingConnection
The connection to be added.
Return Value
Type: System.Boolean