Share via


ITrackingConnection.KeepAlive Method

.NET Framework 4

Sends a keep alive ping over the connection.

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Function KeepAlive As Task
'Usage
Dim instance As ITrackingConnection 
Dim returnValue As Task 

returnValue = instance.KeepAlive()
Task KeepAlive()
Task^ KeepAlive()
abstract KeepAlive : unit -> Task
function KeepAlive() : Task

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

See Also

Reference

ITrackingConnection Interface

Microsoft.AspNet.SignalR.Transports Namespace