# GrapeCity.Spreadsheet.ActionResult-1.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_ActionResult_1__ctor_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor*">ActionResult Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_ActionResult_1__ctor_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_ActionResult_1__ctor_System_String_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor(System.String)">ActionResult(string)</h4>
<div class="markdown level1 summary"><p>Initializes an action failed result.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionResult(string details)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(details 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">details</span></td>
      <td><p>The details information of executing action.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ActionResult_1__ctor_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_ActionResult_1__ctor_System_String_System_Type_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor(System.String,System.Type)">ActionResult(string, Type)</h4>
<div class="markdown level1 summary"><p>Initializes an action failed result.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionResult(string details, Type exceptionType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(details As String, exceptionType As Type)</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">details</span></td>
      <td><p>The details information of executing action.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">exceptionType</span></td>
      <td><p>The details type of exception</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ActionResult_1__ctor_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_ActionResult_1__ctor__0_System_String_GrapeCity_Spreadsheet_UI_ActionCategory_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor(`0,System.String,GrapeCity.Spreadsheet.UI.ActionCategory)">ActionResult(T, string, ActionCategory)</h4>
<div class="markdown level1 summary"><p>Initializes an action failed result.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionResult(T value, string details, ActionCategory category)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As T, details As String, category As ActionCategory)</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><span class="xref">T</span></td>
      <td><span class="parametername">value</span></td>
      <td><p>A T value represents the executing result.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">details</span></td>
      <td><p>The details information of executing action.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">ActionCategory</span></td>
      <td><span class="parametername">category</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ActionResult_1__ctor_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_ActionResult_1__ctor__0_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor(`0)">ActionResult(T)</h4>
<div class="markdown level1 summary"><p>Initializes an action success result.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionResult(T value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As T)</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><span class="xref">T</span></td>
      <td><span class="parametername">value</span></td>
      <td><p>A T value represents the executing result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ActionResult_1__ctor_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_ActionResult_1__ctor__0_GrapeCity_Spreadsheet_UI_ActionCategory_" data-uid="GrapeCity.Spreadsheet.ActionResult`1.#ctor(`0,GrapeCity.Spreadsheet.UI.ActionCategory)">ActionResult(T, ActionCategory)</h4>
<div class="markdown level1 summary"><p>Initializes an action failed result.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionResult(T value, ActionCategory invalidateCategory)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As T, invalidateCategory As ActionCategory)</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><span class="xref">T</span></td>
      <td><span class="parametername">value</span></td>
      <td><p>A T value represents the executing result.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">ActionCategory</span></td>
      <td><span class="parametername">invalidateCategory</span></td>
      <td><p>The invalidate category information of executing action.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
