# C1.BarCode.BarCodeException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_BarCode_BarCodeException" data-uid="C1.BarCode.BarCodeException" class="text-break">BarCodeException Class
</h1>
  <div class="markdown level0 summary"><p>The exception thrown when an error is caused by an inapplicable value of the barcode control.</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.applicationexception">ApplicationException</a></div>
    <div class="level3"><span class="xref">BarCodeException</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.interopservices._exception">_Exception</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.BarCode.html">C1.BarCode</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Api.BarCode.dll</h6>
  <h5 id="C1_BarCode_BarCodeException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BarCodeException : ApplicationException, ISerializable, _Exception</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BarCodeException
    Inherits ApplicationException
    Implements ISerializable, _Exception</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="C1_BarCode_BarCodeException__ctor" data-uid="C1.BarCode.BarCodeException.#ctor">
          <a class="xref" href="C1.BarCode.BarCodeException.-ctor.html#C1_BarCode_BarCodeException__ctor">BarCodeException()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.BarCode.BarCodeException.html">BarCodeException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_BarCode_BarCodeException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.BarCode.BarCodeException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="C1.BarCode.BarCodeException.-ctor.html#C1_BarCode_BarCodeException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">BarCodeException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.BarCode.BarCodeException.html">BarCodeException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_BarCode_BarCodeException__ctor_System_String_" data-uid="C1.BarCode.BarCodeException.#ctor(System.String)">
          <a class="xref" href="C1.BarCode.BarCodeException.-ctor.html#C1_BarCode_BarCodeException__ctor_System_String_">BarCodeException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.BarCode.BarCodeException.html">BarCodeException</a> class with a specified error message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_BarCode_BarCodeException__ctor_System_String_System_Exception_" data-uid="C1.BarCode.BarCodeException.#ctor(System.String,System.Exception)">
          <a class="xref" href="C1.BarCode.BarCodeException.-ctor.html#C1_BarCode_BarCodeException__ctor_System_String_System_Exception_">BarCodeException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.BarCode.BarCodeException.html">BarCodeException</a> class with a specified error message 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="C1_BarCode_BarCodeException_ErrorCode" data-uid="C1.BarCode.BarCodeException.ErrorCode">
          <a class="xref" href="C1.BarCode.BarCodeException.ErrorCode.html#C1_BarCode_BarCodeException_ErrorCode">ErrorCode</a>
        </td>
        <td class="markdown level1 summary"><p>Internal error code</p>
</td>
      </tr>
      <tr>
        <td id="C1_BarCode_BarCodeException_Message" data-uid="C1.BarCode.BarCodeException.Message">
          <a class="xref" href="C1.BarCode.BarCodeException.Message.html#C1_BarCode_BarCodeException_Message">Message</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a message that describes the current exception.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
