Edit

Share via


PersistenceIOParticipant.Abort Method

Definition

Aborts the pending IO (Load or Save) operation.

protected:
 abstract void Abort();
protected abstract void Abort ();
abstract member Abort : unit -> unit
Protected MustOverride Sub Abort ()

Remarks

Derived classes that override BeginOnSave or BeginOnLoad and might not always complete immediately must override Abort. If Abort is invoked, any pending IO operations must be canceled. If an operation is canceled in this way, the corresponding End method should throw OperationCanceledException.

Applies to