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 | |
---|---|---|
CancellationToken | Gets a cancellation token that represents the connection’s lifetime. | |
ConnectionId | Gets the ID of the connection. | |
DisconnectThreshold | Gets a value indicating the amount of time to wait after the connection dies before firing the disconnecting the connection. | |
IsAlive | Gets a value that represents if the connection is alive. | |
IsTimedOut | Gets a value that represents if the connection is timed out. | |
SupportsKeepAlive | Gets a value that represents if the connection supports keep alive. | |
Url | Gets the uri of the connection. |
Top
Methods
Name | Description | |
---|---|---|
Disconnect | Causes the connection to disconnect. | |
End | Kills the connection. | |
KeepAlive | Sends a keep alive ping over the connection. | |
ReleaseRequest | Releases the http request associated with the connection (if any). | |
Timeout | Causes the connection to timeout. |
Top