Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ITrackingConnection Interface

ITrackingConnection Interface

.NET Framework 4.5

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)

public interface ITrackingConnection

The ITrackingConnection type exposes the following members.

Public propertyCancellationTokenGets a cancellation token that represents the connection’s lifetime.
Public propertyConnectionIdGets the ID of the connection.
Public propertyDisconnectThresholdGets a value indicating the amount of time to wait after the connection dies before firing the disconnecting the connection.
Public propertyIsAliveGets a value that represents if the connection is alive.
Public propertyIsTimedOutGets a value that represents if the connection is timed out.
Public propertySupportsKeepAliveGets a value that represents if the connection supprots keep alive.
Public propertyUrlGets the uri of the connection.

Public methodDisconnectCauses the connection to disconnect.
Public methodEndKills the connection.
Public methodKeepAliveSends a keep alive ping over the connection.
Public methodReleaseRequestReleases the http request associated with the connection (if any).
Public methodTimeoutCauses the connection to timeout.
© 2015 Microsoft