示例#1
0
 /// <summary>
 /// Solution has been opened.
 /// </summary>
 /// <param name="pUnkReserved">Reserved for future use.</param>
 /// <param name="fNewSolution">true if the solution is being created. false if the solution was created previously or is being loaded.</param>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int solutionOpened(object pUnkReserved, int fNewSolution)
 {
     try {
         return(link.solutionOpened(pUnkReserved, fNewSolution));
     }
     catch (Exception ex) {
         Log.Error("[Client library] Failed solutionOpened: '{0}'", ex.Message);
     }
     return(Codes.Failed);
 }
示例#2
0
 /// <summary>
 /// Solution has been opened.
 /// </summary>
 /// <param name="pUnkReserved">Reserved for future use.</param>
 /// <param name="fNewSolution">true if the solution is being created. false if the solution was created previously or is being loaded.</param>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int solutionOpened(object pUnkReserved, int fNewSolution)
 {
     try {
         return(link.solutionOpened(pUnkReserved, fNewSolution));
     }
     catch (Exception ex) {
         Log.Error($"[Client library] Failed solutionOpened: {ex.Message}");
         Log.Debug(ex.StackTrace);
     }
     return(Codes.Failed);
 }