Method WithHeartbeatException
WithHeartbeatException(Exception)
Returns a new ServerDescription with a new HeartbeatException.
public ServerDescription WithHeartbeatException(Exception heartbeatException)
Parameters
heartbeatException
ExceptionThe heartbeat exception.
Returns
- ServerDescription
A new instance of ServerDescription.