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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public ServerDescription WithHeartbeatException(
Exception heartbeatException
)
Public Function WithHeartbeatException (
heartbeatException As Exception
) As ServerDescription
member WithHeartbeatException :
heartbeatException : Exception -> ServerDescription
Parameters
- heartbeatException
- Type: SystemException
The heartbeat exception.
Return Value
Type:
ServerDescription
A new instance of ServerDescription.
See Also