![]() |
Fires whenever an error occurs to which the user can respond with abort, retry, or ignore.
HRESULT RecoverableError(
[in] LONG session,
[in] BSTR device,
[in] BSTR location,
[in] BSTR description,
[out] LONG* actionToTake,
[out] VARIANT_BOOL* vworksHandlesError
);
[in] The name of the device on which the error occurred, or an empty string. [in] The location on the device where the error occurred, or an empty string. [out] Pointer to a variable that receives a value that represents the action to take.0 = Abort1 = Retry2 = Ignore [out] A variable that receives a value that indicates whether VWorks software should handle the error.TRUE = Allow VWorks software to handle the errorFALSE = Do not allow VWorks software to handle the error