Share via


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

Return Value

Type: System.Boolean

See Also

Reference

ITransportHeartbeat Interface

Microsoft.AspNet.SignalR.Transports Namespace