/// <summary> /// After executed Command ID for EnvDTE. /// </summary> /// <param name="guid">The GUID.</param> /// <param name="id">The command ID.</param> /// <param name="customIn">Custom input parameters.</param> /// <param name="customOut">Custom output parameters.</param> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onCommandDtePost(string guid, int id, object customIn, object customOut) { try { return(link.onCommandDtePost(guid, id, customIn, customOut)); } catch (Exception ex) { Log.Error("[Client library] Failed onCommandDtePost: '{0}'", ex.Message); } return(Codes.Failed); }
/// <summary> /// After executed Command ID for EnvDTE. /// </summary> /// <param name="guid">The GUID.</param> /// <param name="id">The command ID.</param> /// <param name="customIn">Custom input parameters.</param> /// <param name="customOut">Custom output parameters.</param> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onCommandDtePost(string guid, int id, object customIn, object customOut) { try { return(link.onCommandDtePost(guid, id, customIn, customOut)); } catch (Exception ex) { Log.Error($"[Client library] Failed onCommandDtePost: {ex.Message}"); Log.Debug(ex.StackTrace); } return(Codes.Failed); }