# C1.Win.C1Input.ValidationException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_ValidationException" data-uid="C1.Win.C1Input.ValidationException" class="text-break">ValidationException Class
</h1>
  <div class="markdown level0 summary"><p>An exception that follows the ValidationError event if ValidationErrorEventArgs.ErrorInfo is set to ErrorActionEnum.ThrowException.</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">ValidationException</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.Win.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_ValidationException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValidationException : ApplicationException, ISerializable, _Exception</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValidationException
    Inherits ApplicationException
    Implements ISerializable, _Exception</code></pre>
  </div>
  <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_Win_C1Input_ValidationException_Reason" data-uid="C1.Win.C1Input.ValidationException.Reason">
          <a class="xref" href="C1.Win.C1Input.ValidationException.Reason.html#C1_Win_C1Input_ValidationException_Reason">Reason</a>
        </td>
        <td class="markdown level1 summary"><p>Validation phase on which the error has been detected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValidationException_Sender" data-uid="C1.Win.C1Input.ValidationException.Sender">
          <a class="xref" href="C1.Win.C1Input.ValidationException.Sender.html#C1_Win_C1Input_ValidationException_Sender">Sender</a>
        </td>
        <td class="markdown level1 summary"><p>Control that fired the exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValidationException_Text" data-uid="C1.Win.C1Input.ValidationException.Text">
          <a class="xref" href="C1.Win.C1Input.ValidationException.Text.html#C1_Win_C1Input_ValidationException_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>The input text that caused the error.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValidationException_Value" data-uid="C1.Win.C1Input.ValidationException.Value">
          <a class="xref" href="C1.Win.C1Input.ValidationException.Value.html#C1_Win_C1Input_ValidationException_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>The typed value that caused the error.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
