Function OpenVDS::RetryableClose

inline void OpenVDS::RetryableClose(VDSHandle handle, bool flush = true)

Close a VDS and free up all associated resources if the close succeeds. If an error occurs, an exception will be thrown.

Parameters:

handle – The handle of the VDS

inline void OpenVDS::RetryableClose(VDSHandle handle, Error &error, bool flush = true)

Close a VDS and free up all associated resources if the close succeeds.

Parameters:
  • handle – The handle of the VDS

  • error – If an error occured, the error code and message will be written to this output parameter