Пример #1
0
 private void SuspendStateThreadProc(object stateObject)
 {
     try
     {
         ReplayState replayState = (ReplayState)stateObject;
         replayState.SuspendLockRemote.EnterSuspend();
         this.m_fSuccess = true;
     }
     catch (Exception ex)
     {
         if (AmExceptionHelper.IsKnownClusterException(this, ex))
         {
             this.m_Exception = ex;
         }
         else
         {
             this.m_Exception   = ex;
             this.m_Terminating = true;
         }
     }
 }
 protected override bool IsKnownException(Exception e)
 {
     return(AmExceptionHelper.IsKnownClusterException(this, e) || SystemConfigurationTasksHelper.IsKnownMapiDotNETException(e) || e is AmServerException || e is ObjectNotFoundException || base.IsKnownException(e));
 }
Пример #3
0
 protected override bool IsKnownException(Exception e)
 {
     return(AmExceptionHelper.IsKnownClusterException(this, e) || base.IsKnownException(e));
 }
 protected override bool IsKnownException(Exception exception)
 {
     return(base.IsKnownException(exception) || DataAccessHelper.IsDataAccessKnownException(exception) || MonitoringHelper.IsKnownExceptionForMonitoring(exception) || AmExceptionHelper.IsKnownClusterException(this, exception) || exception is ReplicationCheckException);
 }
 protected override bool IsKnownException(Exception ex)
 {
     return(ex is WmiException || ex is ArgumentException || AmExceptionHelper.IsKnownClusterException(this, ex) || ex is SeederServerException || ex is TaskServerException || base.IsKnownException(ex));
 }
Пример #6
0
 protected override bool IsKnownException(Exception exception)
 {
     return(exception is IdentityNotMappedException || exception is AmClusterException || exception is ADTransientException || exception is ADExternalException || exception is ADOperationException || exception is AmServerException || exception is ObjectNotFoundException || AmExceptionHelper.IsKnownClusterException(this, exception) || base.IsKnownException(exception));
 }