Share via


HeartbeatMonitor Constructor

.NET Framework 4.5

Initializes a new instance of the HeartbeatMonitor Class.

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    connection As IConnection, _
    connectionStateLock As Object _
)
'Usage
Dim connection As IConnection 
Dim connectionStateLock As Object 

Dim instance As New HeartbeatMonitor(connection, _
    connectionStateLock)
public HeartbeatMonitor(
    IConnection connection,
    Object connectionStateLock
)
public:
HeartbeatMonitor(
    IConnection^ connection, 
    Object^ connectionStateLock
)
new : 
        connection:IConnection * 
        connectionStateLock:Object -> HeartbeatMonitor
public function HeartbeatMonitor(
    connection : IConnection, 
    connectionStateLock : Object
)

Parameters

  • connectionStateLock
    Type: System.Object
    The connection state lock.

See Also

Reference

HeartbeatMonitor Class

Microsoft.AspNet.SignalR.Client Namespace