Click or drag to resize

ServerHeartbeatFailedEvent Constructor (ConnectionId, Exception, Boolean)

Note: This API is now obsolete.

Initializes a new instance of the ServerHeartbeatFailedEvent struct.

Namespace:  MongoDB.Driver.Core.Events
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
[ObsoleteAttribute("Use the other contstructor instead")]
public ServerHeartbeatFailedEvent(
	ConnectionId connectionId,
	Exception exception,
	bool awaited
)

Parameters

connectionId
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier.
exception
Type: SystemException
The exception.
awaited
Type: SystemBoolean
The awaited flag.
See Also