Tutorial 6 – Canceling DB Exports

Tutorial 5 – Export DB with Audio

In the previous tutorial, we learned how to create a DB Export with Audio.

In this tutorial, we’ll learn how to cancel all running DB Exports.

If you recall our handling of various states during the Export process, we had:

Let’s extend our handling of the ‘in progress’ state and cancel our Export at 50% complete:

AxAuga’s CancelExport method takes a string that represents the ID of the Export to cancel. Using the ID of “-1” will cancel all running Exports. Currently, the SDK only supports the capability of canceling all of the Exports as the Export IDs aren’t exposed.

Screenshots of the final program:

That’s it. Now you can cancel DB Exports.