Share via


TransportHeartbeat.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
Public Function AddConnection ( _
    connection As ITrackingConnection _
) As Boolean
'Usage
Dim instance As TransportHeartbeat 
Dim connection As ITrackingConnection 
Dim returnValue As Boolean 

returnValue = instance.AddConnection(connection)
public bool AddConnection(
    ITrackingConnection connection
)
public:
virtual bool AddConnection(
    ITrackingConnection^ connection
) sealed
abstract AddConnection : 
        connection:ITrackingConnection -> bool  
override AddConnection : 
        connection:ITrackingConnection -> bool
public final function AddConnection(
    connection : ITrackingConnection
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

Implements

ITransportHeartbeat.AddConnection(ITrackingConnection)

See Also

Reference

TransportHeartbeat Class

Microsoft.AspNet.SignalR.Transports Namespace