/// <summary> /// Shows a message box with the specified error message and the specified debug information (if it's a debug build). /// </summary> /// <param name="messageId">The resource identifier of the message to show.</param> /// <param name="debugInformation">The extra information to show in a debug build.</param> public void NotifyInternalError(ResId messageId, string debugInformation) { string title = this.NativeResources.GetString(messageId); string message = String.Empty; PackageUtility.AppendConsultTraceMessage(ref message); PackageUtility.AppendDebugInformation(ref message, debugInformation); this.ShowErrorMessageBox(title, message); }