# FarPoint.Win.Spread.Model.InvalidNameException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Model_InvalidNameException" data-uid="FarPoint.Win.Spread.Model.InvalidNameException" class="text-break">InvalidNameException Class
</h1>
  <div class="markdown level0 summary"><p>/// Represents the exception that is thrown when an error is encountered.</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">InvalidNameException</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="FarPoint.Win.Spread.Model.html">FarPoint.Win.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_Model_InvalidNameException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InvalidNameException : Exception, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InvalidNameException
    Inherits Exception
    Implements 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_Win_Spread_Model_InvalidNameException__ctor" data-uid="FarPoint.Win.Spread.Model.InvalidNameException.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.Model.InvalidNameException.-ctor.html#FarPoint_Win_Spread_Model_InvalidNameException__ctor">InvalidNameException()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new instance of the InvalidNameException class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_InvalidNameException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.Model.InvalidNameException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.Model.InvalidNameException.-ctor.html#FarPoint_Win_Spread_Model_InvalidNameException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">InvalidNameException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new instance of the InvalidNameException class with
serialized data.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_InvalidNameException__ctor_System_String_" data-uid="FarPoint.Win.Spread.Model.InvalidNameException.#ctor(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.InvalidNameException.-ctor.html#FarPoint_Win_Spread_Model_InvalidNameException__ctor_System_String_">InvalidNameException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new instance of the InvalidNameException class
with the specified message.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_InvalidNameException__ctor_System_String_System_Exception_" data-uid="FarPoint.Win.Spread.Model.InvalidNameException.#ctor(System.String,System.Exception)">
          <a class="xref" href="FarPoint.Win.Spread.Model.InvalidNameException.-ctor.html#FarPoint_Win_Spread_Model_InvalidNameException__ctor_System_String_System_Exception_">InvalidNameException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new instance of the InvalidNameException class
with the specified message and inner exception.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
