ServerHeartbeatFailedEvent Constructor (ConnectionId, TimeSpan, Exception, Boolean) |
Namespace:
MongoDB.Driver.Core.Events
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public ServerHeartbeatFailedEvent(
ConnectionId connectionId,
TimeSpan duration,
Exception exception,
bool awaited
)
Public Sub New (
connectionId As ConnectionId,
duration As TimeSpan,
exception As Exception,
awaited As Boolean
)
new :
connectionId : ConnectionId *
duration : TimeSpan *
exception : Exception *
awaited : bool -> ServerHeartbeatFailedEvent
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - duration
- Type: SystemTimeSpan
The duration of time passed since corresponding ServerHeartbeatStartedEvent. - exception
- Type: SystemException
The exception. - awaited
- Type: SystemBoolean
The awaited flag.
See Also