What does HRESULT 0x80042599 (VDS_E_SHRINK_USER_CANCELLED) mean?

 
Previous Next
VDS_E_BAD_REVISION_NUMBER VDS_E_SHRINK_DIRTY_VOLUME

VDS_E_SHRINK_USER_CANCELLED

VDS_E_SHRINK_USER_CANCELLED is a terminal result of an asynchronous shrink request, not a size-calculation error. VDS shrink operations return IVdsAsync, through which a caller can cancel, wait and retrieve final status.

Re-read the volume after cancellation

  • Record who requested cancellation and the last asynchronous progress state.
  • Query the volume and filesystem sizes instead of assuming no work occurred.
  • Recalculate reclaimable space before offering a new shrink request.

Cancellation can occur after preparatory filesystem work has started, even though VDS is designed to avoid leaving the filesystem smaller than the volume on failure. Do not automatically restart with the old desired and minimum sizes. Treat cancellation as a user-controlled outcome and require a fresh decision.

Shrink method · Async operation types · VDS portal


Looking for a different code? Search another status or error code.