Table of Contents

Method WithHeartbeatException

Namespace
MongoDB.Driver.Core.Servers
Assembly
MongoDB.Driver.Core.dll

WithHeartbeatException(Exception)

Returns a new ServerDescription with a new HeartbeatException.

public ServerDescription WithHeartbeatException(Exception heartbeatException)

Parameters

heartbeatException Exception

The heartbeat exception.

Returns

ServerDescription

A new instance of ServerDescription.