# GrapeCity.ActiveReports.PageReportModel.InvalidLengthException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_PageReportModel_InvalidLengthException" data-uid="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException" class="text-break">InvalidLengthException Class
</h1>
  <div class="markdown level0 summary"><p>Represents an exception that is thrown when an invalid value is specified for a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a> unit designator.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
    <div class="level2"><span class="xref">InvalidLengthException</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_InvalidLengthException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InvalidLengthException : Exception, ISerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.-ctor.html#GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor">InvalidLengthException()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.html">InvalidLengthException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.-ctor.html#GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">InvalidLengthException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.html">InvalidLengthException</a> class using a serialized data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor_System_String_" data-uid="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.-ctor.html#GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor_System_String_">InvalidLengthException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.html">InvalidLengthException</a> class using a specified error message.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor_System_String_System_Exception_" data-uid="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.#ctor(System.String,System.Exception)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.-ctor.html#GrapeCity_ActiveReports_PageReportModel_InvalidLengthException__ctor_System_String_System_Exception_">InvalidLengthException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.html">InvalidLengthException</a> class using a specified error message and a reference
to the inner exception that caused this exception.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
