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 class ITrackingConnection : IDisposable

The ITrackingConnection type exposes the following members.

  NameDescription
Public propertyCancellationTokenGets a cancellation token that represents the connection’s lifetime.
Public propertyConnectionIdGets the ID of the connection.
Public propertyConnectTask
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 supports keep alive.
Public propertyUrlGets the uri of the connection.
Top

  NameDescription
Public methodApplyStateApplies a new state to the connection.
Public methodDisconnectCauses the connection to disconnect.
Public methodDispose (Inherited from IDisposable.)
Public methodEndKills the connection.
Public methodKeepAliveSends a keep alive ping over the connection.
Public methodTimeoutCauses the connection to timeout.
Top

No content here will be updated; please do not add material here.

Show: