ServerHeartbeatFailedEvent Constructor (ConnectionId, Exception, Boolean) |
Note: This API is now obsolete.
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
)
<ObsoleteAttribute("Use the other contstructor instead")>
Public Sub New (
connectionId As ConnectionId,
exception As Exception,
awaited As Boolean
)
[<ObsoleteAttribute("Use the other contstructor instead")>]
new :
connectionId : ConnectionId *
exception : Exception *
awaited : bool -> ServerHeartbeatFailedEvent
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - exception
- Type: SystemException
The exception. - awaited
- Type: SystemBoolean
The awaited flag.
See Also