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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public ServerDescription WithHeartbeatException(
	Exception heartbeatException
)

Parameters

heartbeatException
Type: SystemException
The heartbeat exception.

Return Value

Type: ServerDescription
A new instance of ServerDescription.
See Also