Пример #1
0
 // Token: 0x060020F7 RID: 8439 RVA: 0x00097D88 File Offset: 0x00095F88
 private void CallExRpcWithTimeout(string operationName, TimeSpan timeout, Action exRpcAction)
 {
     try
     {
         InvokeWithTimeout.Invoke(exRpcAction, timeout);
     }
     catch (TimeoutException ex)
     {
         throw MapiExceptionHelper.TimeoutException(ReplayStrings.ReplayTestStoreConnectivityTimedoutException(operationName, ex.Message), ex);
     }
 }
Пример #2
0
 // Token: 0x060020F5 RID: 8437 RVA: 0x00097D50 File Offset: 0x00095F50
 protected override Exception GetOperationTimedOutException(string operationName, TimeoutException timeoutEx)
 {
     return(MapiExceptionHelper.TimeoutException(ReplayStrings.ReplayTestStoreConnectivityTimedoutException(operationName, timeoutEx.Message), timeoutEx));
 }