示例#1
0
 /// <summary>
 /// 'Cancel/Abort' of the solution.
 /// When a build is being cancelled.
 /// </summary>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int onCancel()
 {
     try {
         return(link.onCancel());
     }
     catch (Exception ex) {
         Log.Error("[Client library] Failed onCancel: '{0}'", ex.Message);
     }
     return(Codes.Failed);
 }
示例#2
0
 /// <summary>
 /// 'Cancel/Abort' of the solution.
 /// When a build is being cancelled.
 /// </summary>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int onCancel()
 {
     try {
         return(link.onCancel());
     }
     catch (Exception ex) {
         Log.Error($"[Client library] Failed onCancel: {ex.Message}");
         Log.Debug(ex.StackTrace);
     }
     return(Codes.Failed);
 }