/// <summary>
 /// Stops the Simulation.
 /// </summary>
 public void StopSimulation()
 {
     try
     {
         channel.StopSimulation();
     }
     catch (FaultException <AntMeFault> fault)
     {
         throw new ArgumentException(fault.Detail.Description);
     }
     catch (Exception ex)
     {
         CloseByError(ex);
         throw;
     }
 }
Exemple #2
0
 public async Task <string> StopSimulation()
 {
     return(await _simulationService.StopSimulation());
 }