HeartbeatMonitor Class
.NET Framework 4.5
Represents the HeartbeatMonitor to response from the server and carry on beating if a response was successful.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Client.HeartbeatMonitor
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Class HeartbeatMonitor _
Implements IDisposable
'Usage
Dim instance As HeartbeatMonitor
public class HeartbeatMonitor : IDisposable
public ref class HeartbeatMonitor : IDisposable
type HeartbeatMonitor =
class
interface IDisposable
end
public class HeartbeatMonitor implements IDisposable
The HeartbeatMonitor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HeartbeatMonitor | Initializes a new instance of the HeartbeatMonitor Class. |
Top
Properties
Name | Description | |
---|---|---|
HasBeenWarned | Gets or sets a value that indicates whether the HeartbeatMonitor has been warned. | |
TimedOut | Gets or sets a value that indicates whether the HeartbeatMonitor had a timeout. |
Top
Methods
Name | Description | |
---|---|---|
Beat | Logic to determine if we need to notify the user or attempt to reconnect. | |
Dispose() | Releases all resources used by the current instance of the HeartbeatMonitor class. | |
Dispose(Boolean) | Releases the unmanaged resources used by the HeartbeatMonitor class and optionally releases the managed resources. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Start | Updates LastKeepAlive and starts the timer. | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.