PersonalStorage.ItemMoved Cancel

Hello,
When splitting, merging or converting a large PersonalStorage inside ItemMoved event there should be e.Cancel method so we can call it to terminate the rest of process!
I run the code in a separate thread so main application UI is responsive and there’s a cancel button that I check it each time ItemMoved event is called.
Currently possible to cancel the operation in the middle?
Consider the real world app use, large pst vs slow HDD.

And thanks indeed for fixing EMAILNET-40905 SplitInto throws Generic.KeyNotFoundException
It works now, just can we set the naming template for output parts?
They’re named Personal folders_part0.pst and go on…
Although mainly for decoration but also in case the app is .NET 4 which does not support LongPathsEnabled it will help by choosing a shorter name prefix

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILNET-40949

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

Hello and thanks
In addition to the above Cancel event:
Storage.MailboxConverter.ConvertPersonalStorageToMbox and Storage.MailStorageConverter.MboxToPst
Both don’t have event to fire on each item processed including item being processed folder/name
On large storages, long processes, that can help to show a progress bar and update a log file to reflect the current item, so in case of errors we know which item caused it.
Peace :slight_smile:

Hello @australian.dev.nerds,

Added this info to the ticket. Thanks.