# FarPoint.Web.Spread.FormulaRestrictedException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_FormulaRestrictedException" data-uid="FarPoint.Web.Spread.FormulaRestrictedException" class="text-break">FormulaRestrictedException Class
</h1>
  <div class="markdown level0 summary"><p>The exception that is thrown when one of the formulas provided to a rule is not valid.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.systemexception">SystemException</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></div>
    <div class="level4"><span class="xref">FormulaRestrictedException</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.interopservices._exception">_Exception</a></div>
    <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="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_FormulaRestrictedException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FormulaRestrictedException : ArgumentException, _Exception, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FormulaRestrictedException
    Inherits ArgumentException
    Implements _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="FarPoint_Web_Spread_FormulaRestrictedException__ctor_FarPoint_Web_Spread_Model_IExpressionConsumer_System_Int32_System_String_System_Exception_" data-uid="FarPoint.Web.Spread.FormulaRestrictedException.#ctor(FarPoint.Web.Spread.Model.IExpressionConsumer,System.Int32,System.String,System.Exception)">
          <a class="xref" href="FarPoint.Web.Spread.FormulaRestrictedException.-ctor.html#FarPoint_Web_Spread_FormulaRestrictedException__ctor_FarPoint_Web_Spread_Model_IExpressionConsumer_System_Int32_System_String_System_Exception_">FormulaRestrictedException(IExpressionConsumer, int, string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a> class with a specified error message, the parameter name, and a reference to the inner exception that is the cause of this exception.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaRestrictedException_Consumer" data-uid="FarPoint.Web.Spread.FormulaRestrictedException.Consumer">
          <a class="xref" href="FarPoint.Web.Spread.FormulaRestrictedException.Consumer.html#FarPoint_Web_Spread_FormulaRestrictedException_Consumer">Consumer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the consumer.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaRestrictedException_Index" data-uid="FarPoint.Web.Spread.FormulaRestrictedException.Index">
          <a class="xref" href="FarPoint.Web.Spread.FormulaRestrictedException.Index.html#FarPoint_Web_Spread_FormulaRestrictedException_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
