/// <summary> /// 'POST' of the solution. /// When a build is completed. /// </summary> /// <param name="fSucceeded">true if no update actions failed.</param> /// <param name="fModified">true if any update action succeeded.</param> /// <param name="fCancelCommand">true if update actions were canceled.</param> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onPost(int fSucceeded, int fModified, int fCancelCommand) { try { return(link.onPost(fSucceeded, fModified, fCancelCommand)); } catch (Exception ex) { Log.Error("[Client library] Failed onPost: '{0}'", ex.Message); } return(Codes.Failed); }
/// <summary> /// 'POST' of the solution. /// When a build is completed. /// </summary> /// <param name="fSucceeded">true if no update actions failed.</param> /// <param name="fModified">true if any update action succeeded.</param> /// <param name="fCancelCommand">true if update actions were canceled.</param> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onPost(int fSucceeded, int fModified, int fCancelCommand) { try { return(link.onPost(fSucceeded, fModified, fCancelCommand)); } catch (Exception ex) { Log.Error($"[Client library] Failed onPost: {ex.Message}"); Log.Debug(ex.StackTrace); } return(Codes.Failed); }