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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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