Context() public method

Returns a string giving information on how the entity is referenced and declared, walking up the parents until the top level parent entity is found.
public Context ( ) : string
return string
 public SgmlParseException(string message, Entity e)
     : base(message)
 {
     if (e != null)
     {
         EntityContext = e.Context();
     }
 }
 /// <summary>
 /// Instantiates a new instance of SgmlParseException with an error message describing the problem.
 /// </summary>
 /// <param name="message">A message describing the error that occurred</param>
 /// <param name="e">The entity on which the error occurred.</param>
 public SgmlParseException(string message, Entity e)
     : base(message)
 {
     if (e != null)
         m_entityContext = e.Context();
 }