/// <summary> /// Raises the <see cref="TransferError"/> event. /// </summary> /// <param name="e"></param> protected virtual void OnTransferError(TransferErrorEventArgs e) { ExternalInvoke(() => { var handler = TransferError; handler?.Invoke(this, e); }); }
void ITwainSessionInternal.SafeSyncableRaiseEvent(TransferErrorEventArgs e) { SafeSyncableRaiseOnEvent(OnTransferError, TransferError, e); }
/// <summary> /// Called when an error has been encountered during transfer. /// </summary> /// <param name="e">The <see cref="TransferErrorEventArgs"/> instance containing the event data.</param> protected virtual void OnTransferError(TransferErrorEventArgs e) { }