Ejemplo n.º 1
0
 /// <summary>
 /// Call this method to cancel the execution of this deployment
 /// </summary>
 public void Cancel()
 {
     _cancelSource.Cancel();
     if (_proCompilation != null)
     {
         _proCompilation.CancelCompilation();
     }
     if (_hookExecution != null)
     {
         _hookExecution.KillProcess();
     }
     EndOfDeployment();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Call this method to cancel the execution of this deployment
 /// </summary>
 public virtual void Cancel()
 {
     HasBeenCancelled = true;
     _cancelSource.Cancel();
     if (_proCompilation != null)
     {
         _proCompilation.CancelCompilation();
     }
     if (_hookExecution != null)
     {
         _hookExecution.KillProcess();
     }
     EndOfDeployment();
 }