Exemple #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();
 }
Exemple #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();
 }