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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public ServerDescription WithHeartbeatException(
	Exception heartbeatException
)

Parameters

heartbeatException
Type: SystemException
The heartbeat exception.

Return Value

Type: ServerDescription
A new instance of ServerDescription.
See Also