# C1.Win.FlexGrid.GridErrorEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_GridErrorEventArgs__ctor_" data-uid="C1.Win.FlexGrid.GridErrorEventArgs.#ctor*">GridErrorEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_GridErrorEventArgs__ctor_" data-uid="C1.Win.FlexGrid.GridErrorEventArgs.#ctor*"></a>
<h4 id="C1_Win_FlexGrid_GridErrorEventArgs__ctor_System_Int32_System_Int32_System_Exception_System_Boolean_" data-uid="C1.Win.FlexGrid.GridErrorEventArgs.#ctor(System.Int32,System.Int32,System.Exception,System.Boolean)">GridErrorEventArgs(int, int, Exception, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the GridErrorEventArgs class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GridErrorEventArgs(int row, int col, Exception exception, bool handled)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(row As Integer, col As Integer, exception As Exception, handled As Boolean)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The row index of the cell where the error was detected.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">col</span></td>
      <td><p>The column index of the cell where the error was detected.</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>The <a class="xref" href="C1.Win.FlexGrid.GridErrorEventArgs.Exception.html#C1_Win_FlexGrid_GridErrorEventArgs_Exception">Exception</a> object that contains information about the error.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">handled</span></td>
      <td><p>Whether the error was handled internally and no exception should be thrown.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
