Exemplo n.º 1
0
 // Token: 0x060008BA RID: 2234 RVA: 0x00029FC4 File Offset: 0x000281C4
 private static bool EvictDagClusterNodeInternal(HaTaskStringBuilderOutputHelper output, AmServerName convictedNode, out string verboseLog)
 {
     ExTraceGlobals.ClusterTracer.TraceDebug <AmServerName>(0L, "Going to EvictClusterNode( {0} ) on this machine.", convictedNode);
     try
     {
         using (IAmCluster amCluster = ClusterFactory.Instance.Open())
         {
             amCluster.EvictNodeFromCluster(convictedNode);
         }
     }
     catch (ClusterException ex)
     {
         output.AppendLogMessage("EvictDagClusterNode got exception {0}", new object[]
         {
             ex
         });
         AmClusterException exception = DagHelper.TranslateClusterExceptionForClient(ex);
         DagHelper.ThrowDagTaskOperationWrapper(exception);
     }
     catch (LocalizedException ex2)
     {
         output.AppendLogMessage("EvictDagClusterNode got exception {0}", new object[]
         {
             ex2
         });
         DagHelper.ThrowDagTaskOperationWrapper(ex2);
     }
     finally
     {
         verboseLog = output.ToString();
     }
     return(true);
 }