title: How to get the Dialog Box Message from a Revit Dialog Box Showing Event
body: <p>I was wondering if there is a way to get the string message from the revit dialog box showing event. I am able to get the DialogId but not the description message of the revit warning.</p>
  <pre><code>public Result OnStartup(UIControlledApplication application)
  {
      application.DialogBoxShowing +=
          new EventHandler&lt;Autodesk.Revit.UI.Events.DialogBoxShowingEventArgs&gt;(highlightedWallHandler);
  
      return Result.Succeeded;
  }
  
  public void highlightedWallHandler(object sender,DialogBoxShowingEventArgs args)
  {
      // Get the string id of the showing dialog
      string dialogId = args.DialogId;
  
      //get message description
      //args.Message == &quot;Highlighted walls overlap. One of them may be ignored when Revit finds room boundaries. Use Cut Geometry to embed one wall within the other.&quot;
  }
  </code></pre>