# C1.Util.Licensing.LicenseException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_Licensing_LicenseException" data-uid="C1.Util.Licensing.LicenseException" class="text-break">LicenseException Class
</h1>
  <div class="markdown level0 summary"><p>The exception for licensing.</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">LicenseException</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="C1.Util.Licensing.html">C1.Util.Licensing</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Util_Licensing_LicenseException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LicenseException : Exception, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class LicenseException
    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="C1_Util_Licensing_LicenseException__ctor_System_String_" data-uid="C1.Util.Licensing.LicenseException.#ctor(System.String)">
          <a class="xref" href="C1.Util.Licensing.LicenseException.-ctor.html#C1_Util_Licensing_LicenseException__ctor_System_String_">LicenseException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a LicenseException with message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Licensing_LicenseException__ctor_System_String_C1_Util_Licensing_LicenseErrorCode_" data-uid="C1.Util.Licensing.LicenseException.#ctor(System.String,C1.Util.Licensing.LicenseErrorCode)">
          <a class="xref" href="C1.Util.Licensing.LicenseException.-ctor.html#C1_Util_Licensing_LicenseException__ctor_System_String_C1_Util_Licensing_LicenseErrorCode_">LicenseException(string, LicenseErrorCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a LicenseException with message and error code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Licensing_LicenseException__ctor_System_String_C1_Util_Licensing_LicenseErrorCode_System_Exception_" data-uid="C1.Util.Licensing.LicenseException.#ctor(System.String,C1.Util.Licensing.LicenseErrorCode,System.Exception)">
          <a class="xref" href="C1.Util.Licensing.LicenseException.-ctor.html#C1_Util_Licensing_LicenseException__ctor_System_String_C1_Util_Licensing_LicenseErrorCode_System_Exception_">LicenseException(string, LicenseErrorCode, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a LicenseException with message, error code, and inner exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Licensing_LicenseException__ctor_System_Type_" data-uid="C1.Util.Licensing.LicenseException.#ctor(System.Type)">
          <a class="xref" href="C1.Util.Licensing.LicenseException.-ctor.html#C1_Util_Licensing_LicenseException__ctor_System_Type_">LicenseException(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a LicenseException with type information.</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_Util_Licensing_LicenseException_ErrorCode" data-uid="C1.Util.Licensing.LicenseException.ErrorCode">
          <a class="xref" href="C1.Util.Licensing.LicenseException.ErrorCode.html#C1_Util_Licensing_LicenseException_ErrorCode">ErrorCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the license error code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Licensing_LicenseException_ErrorTitle" data-uid="C1.Util.Licensing.LicenseException.ErrorTitle">
          <a class="xref" href="C1.Util.Licensing.LicenseException.ErrorTitle.html#C1_Util_Licensing_LicenseException_ErrorTitle">ErrorTitle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a user-friendly error title for popup display.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Licensing_LicenseException_FailedType" data-uid="C1.Util.Licensing.LicenseException.FailedType">
          <a class="xref" href="C1.Util.Licensing.LicenseException.FailedType.html#C1_Util_Licensing_LicenseException_FailedType">FailedType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type that failed licensing.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
