/// <summary> /// 'PRE' of the solution. /// Before any build actions have begun. /// </summary> /// <param name="pfCancelUpdate">Pointer to a flag indicating cancel update.</param> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onPre(ref int pfCancelUpdate) { try { return(link.onPre(ref pfCancelUpdate)); } catch (Exception ex) { Log.Error("[Client library] Failed onPre: '{0}'", ex.Message); } return(Codes.Failed); }
/// <summary> /// 'PRE' of the solution. /// Before any build actions have begun. /// </summary> /// <param name="pfCancelUpdate">Pointer to a flag indicating cancel update.</param> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onPre(ref int pfCancelUpdate) { try { return(link.onPre(ref pfCancelUpdate)); } catch (Exception ex) { Log.Error($"[Client library] Failed onPre: {ex.Message}"); Log.Debug(ex.StackTrace); } return(Codes.Failed); }