# FarPoint.Excel.ExcelWarning.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Excel_ExcelWarning__ctor_" data-uid="FarPoint.Excel.ExcelWarning.#ctor*">ExcelWarning Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Excel_ExcelWarning__ctor_" data-uid="FarPoint.Excel.ExcelWarning.#ctor*"></a>
<h4 id="FarPoint_Excel_ExcelWarning__ctor_System_String_FarPoint_Excel_ExcelWarningCode_" data-uid="FarPoint.Excel.ExcelWarning.#ctor(System.String,FarPoint.Excel.ExcelWarningCode)">ExcelWarning(string, ExcelWarningCode)</h4>
<div class="markdown level1 summary"><p>Constructor - internal use</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExcelWarning(string message, ExcelWarningCode code)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String, code As ExcelWarningCode)</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.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Excel.ExcelWarningCode.html">ExcelWarningCode</a></td>
      <td><span class="parametername">code</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Excel_ExcelWarning__ctor_" data-uid="FarPoint.Excel.ExcelWarning.#ctor*"></a>
<h4 id="FarPoint_Excel_ExcelWarning__ctor_System_String_FarPoint_Excel_ExcelWarningCode_System_String_" data-uid="FarPoint.Excel.ExcelWarning.#ctor(System.String,FarPoint.Excel.ExcelWarningCode,System.String)">ExcelWarning(string, ExcelWarningCode, string)</h4>
<div class="markdown level1 summary"><p>Constructor - internal use</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExcelWarning(string message, ExcelWarningCode code, string name)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String, code As ExcelWarningCode, name As String)</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.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Excel.ExcelWarningCode.html">ExcelWarningCode</a></td>
      <td><span class="parametername">code</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Excel_ExcelWarning__ctor_" data-uid="FarPoint.Excel.ExcelWarning.#ctor*"></a>
<h4 id="FarPoint_Excel_ExcelWarning__ctor_System_String_FarPoint_Excel_ExcelWarningCode_System_String_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Excel.ExcelWarning.#ctor(System.String,FarPoint.Excel.ExcelWarningCode,System.String,System.Int32,System.Int32,System.Int32)">ExcelWarning(string, ExcelWarningCode, string, int, int, int)</h4>
<div class="markdown level1 summary"><p>Constructor - internal use</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExcelWarning(string message, ExcelWarningCode code, string name, int sheet, int row, int column)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String, code As ExcelWarningCode, name As String, sheet As Integer, row As Integer, column As Integer)</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.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Excel.ExcelWarningCode.html">ExcelWarningCode</a></td>
      <td><span class="parametername">code</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td></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></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></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Excel_ExcelWarning__ctor_" data-uid="FarPoint.Excel.ExcelWarning.#ctor*"></a>
<h4 id="FarPoint_Excel_ExcelWarning__ctor_System_String_FarPoint_Excel_ExcelWarningCode_System_String_System_Int32_System_Int32_" data-uid="FarPoint.Excel.ExcelWarning.#ctor(System.String,FarPoint.Excel.ExcelWarningCode,System.String,System.Int32,System.Int32)">ExcelWarning(string, ExcelWarningCode, string, int, int)</h4>
<div class="markdown level1 summary"><p>Constructor - internal use</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExcelWarning(string message, ExcelWarningCode code, string chartName, int sheet, int chartIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String, code As ExcelWarningCode, chartName As String, sheet As Integer, chartIndex As Integer)</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.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Excel.ExcelWarningCode.html">ExcelWarningCode</a></td>
      <td><span class="parametername">code</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">chartName</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">chartIndex</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
