Table of Contents

Method OnDeleteErrorAsync

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

OnDeleteErrorAsync(Attachment, Exception)

Handles a delete error for a specific attachment.

Task<bool> OnDeleteErrorAsync(Attachment attachment, Exception error)

Parameters

attachment Attachment

The attachment that failed to delete.

error Exception

The error encountered during the delete.

Returns

Task<bool>

A task that completes with true to retry the operation, or false to archive the attachment.