Click or drag to resize

ServerDescriptionWithHeartbeatException Method

Returns a new ServerDescription with a new HeartbeatException.

Namespace:  MongoDB.Driver.Core.Servers
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public ServerDescription WithHeartbeatException(
	Exception heartbeatException
)

Parameters

heartbeatException
Type: SystemException
The heartbeat exception.

Return Value

Type: ServerDescription
A new instance of ServerDescription.
See Also