Inheritance: SyncManagerException
示例#1
0
        protected void FireSyncFailureEvent(Exception exception)
        {
            if (OnSyncFailure != null)
            {
                var dse = exception as DataStorageException;

                if (dse == null)
                {
                    dse = new DataStorageException(exception);
                }

                OnSyncFailure(this, new SyncFailureEvent(dse));
            }
        }
示例#2
0
 internal SyncFailureEvent(DataStorageException exception)
 {
     this.Exception = exception;
 }