共用方式為


ITrackedSaveOperation.FlushError Event

Definition

Occurs when there is an error while performing a background append to the blob in Azure Storage.

event EventHandler<Exception> FlushError;
member this.FlushError : EventHandler<Exception> 
Event FlushError As EventHandler(Of Exception) 

Event Type

Remarks

If an error occurs while appending, the 'last position' is not updated, so the data that could not be appended will be included in the next flush.

This event is not raised if an error occurs during Dispose(); instead, the Dispose method method re-throws the exception directly. In this case, the background appends are no longer running, so it is up to the calling code to decide whether and how to save the unflushed data (for example, re-saving the file using the non-tracking methods).

Applies to