# FarPoint.Win.Spread.ErrorEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ErrorEventArgs__ctor_" data-uid="FarPoint.Win.Spread.ErrorEventArgs.#ctor*">ErrorEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ErrorEventArgs__ctor_" data-uid="FarPoint.Win.Spread.ErrorEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ErrorEventArgs__ctor_FarPoint_Win_Spread_SpreadView_System_Boolean_FarPoint_Win_Spread_EditError_System_Int32_System_Int32_System_String_System_Exception_" data-uid="FarPoint.Win.Spread.ErrorEventArgs.#ctor(FarPoint.Win.Spread.SpreadView,System.Boolean,FarPoint.Win.Spread.EditError,System.Int32,System.Int32,System.String,System.Exception)">ErrorEventArgs(SpreadView, bool, EditError, int, int, string, Exception)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the Error event arguments.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ErrorEventArgs(SpreadView view, bool isEditError, EditError editError, int row, int column, string errorMessage, Exception exception)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(view As SpreadView, isEditError As Boolean, editError As EditError, row As Integer, column As Integer, errorMessage As String, exception As Exception)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SpreadView.html">SpreadView</a></td>
      <td><span class="parametername">view</span></td>
      <td><p>View that contains the cell with the editor that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isEditError</span></td>
      <td><p>Whether the error occured in the editing of the control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.EditError.html">EditError</a></td>
      <td><span class="parametername">editError</span></td>
      <td><p>Type of edit error</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Row index of the cell with the editor that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Column index of the cell with the editor that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">errorMessage</span></td>
      <td><p>Text describing the error</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></td>
      <td><span class="parametername">exception</span></td>
      <td><p>Exception being thrown</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ErrorEventArgs__ctor_" data-uid="FarPoint.Win.Spread.ErrorEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ErrorEventArgs__ctor_FarPoint_Win_Spread_SpreadView_System_Boolean_FarPoint_Win_Spread_EditError_System_Int32_System_Int32_System_Int32_System_Int32_System_String_System_Exception_" data-uid="FarPoint.Win.Spread.ErrorEventArgs.#ctor(FarPoint.Win.Spread.SpreadView,System.Boolean,FarPoint.Win.Spread.EditError,System.Int32,System.Int32,System.Int32,System.Int32,System.String,System.Exception)">ErrorEventArgs(SpreadView, bool, EditError, int, int, int, int, string, Exception)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the Error event arguments.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ErrorEventArgs(SpreadView view, bool isEditError, EditError editError, int row, int column, int row2, int column2, string errorMessage, Exception exception)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(view As SpreadView, isEditError As Boolean, editError As EditError, row As Integer, column As Integer, row2 As Integer, column2 As Integer, errorMessage As String, exception As Exception)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SpreadView.html">SpreadView</a></td>
      <td><span class="parametername">view</span></td>
      <td><p>View that contains the cell with the editor that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isEditError</span></td>
      <td><p>Whether the error occured in the editing of the control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.EditError.html">EditError</a></td>
      <td><span class="parametername">editError</span></td>
      <td><p>Type of edit error</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The top row index of the cell that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The left column index of the cell that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row2</span></td>
      <td><p>Bottom Row index of the cell that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column2</span></td>
      <td><p>The right column index of the cell that raised the event</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">errorMessage</span></td>
      <td><p>Text describing the error</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></td>
      <td><span class="parametername">exception</span></td>
      <td><p>Exception being thrown</p>
</td>
    </tr>
  </tbody>
</table>
</div>
