Share via


ITrackingConnection Interface

.NET Framework 4

Represents a connection that can be tracked by an ITransportHeartbeat .

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

Syntax

'Declaration
Public Interface ITrackingConnection
'Usage
Dim instance As ITrackingConnection
public interface ITrackingConnection
public interface class ITrackingConnection
type ITrackingConnection =  interface end
public interface ITrackingConnection

The ITrackingConnection type exposes the following members.

Properties

  Name Description
Public property CancellationToken Gets a cancellation token that represents the connection’s lifetime.
Public property ConnectionId Gets the ID of the connection.
Public property DisconnectThreshold Gets a value indicating the amount of time to wait after the connection dies before firing the disconnecting the connection.
Public property IsAlive Gets a value that represents if the connection is alive.
Public property IsTimedOut Gets a value that represents if the connection is timed out.
Public property SupportsKeepAlive Gets a value that represents if the connection supports keep alive.
Public property Url Gets the uri of the connection.

Top

Methods

  Name Description
Public method Disconnect Causes the connection to disconnect.
Public method End Kills the connection.
Public method KeepAlive Sends a keep alive ping over the connection.
Public method ReleaseRequest Releases the http request associated with the connection (if any).
Public method Timeout Causes the connection to timeout.

Top

See Also

Reference

Microsoft.AspNet.SignalR.Transports Namespace