/// <summary> /// Raises the <see cref="Error"/> event. /// </summary> /// <param name="e">The <see cref="SynchronizeErrorEventArgs"/> /// instance containing the event data.</param> protected virtual void OnError(SynchronizeErrorEventArgs e) { if (Error != null) { Error(this, e); } }
private void _adapter_Error( object sender, SynchronizeErrorEventArgs e) { OnSyncError(e.Exception); }
/// <summary> /// Raises the <see cref="Error"/> event. /// </summary> /// <param name="e">The <see cref="SynchronizeErrorEventArgs"/> /// instance containing the event data.</param> protected virtual void OnError(SynchronizeErrorEventArgs e) { if (Error != null) Error(this, e); }