# C1.Web.Mvc.OperationResult

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_OperationResult" data-uid="C1.Web.Mvc.OperationResult" class="text-break">OperationResult Class
</h1>
  <div class="markdown level0 summary"><p>The result of an operation.</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"><span class="xref">OperationResult</span></div>
      <div class="level2"><a class="xref" href="C1.Web.Mvc.CollectionViewItemResult-1.html">CollectionViewItemResult&lt;T&gt;</a></div>
      <div class="level2"><a class="xref" href="C1.Web.Mvc.CollectionViewResponse-1.html">CollectionViewResponse&lt;T&gt;</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_OperationResult_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OperationResult</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OperationResult</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_OperationResult__ctor" data-uid="C1.Web.Mvc.OperationResult.#ctor">
          <a class="xref" href="C1.Web.Mvc.OperationResult.-ctor.html#C1_Web_Mvc_OperationResult__ctor">OperationResult()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <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_Web_Mvc_OperationResult_Error" data-uid="C1.Web.Mvc.OperationResult.Error">
          <a class="xref" href="C1.Web.Mvc.OperationResult.Error.html#C1_Web_Mvc_OperationResult_Error">Error</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the error message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_OperationResult_Success" data-uid="C1.Web.Mvc.OperationResult.Success">
          <a class="xref" href="C1.Web.Mvc.OperationResult.Success.html#C1_Web_Mvc_OperationResult_Success">Success</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the operation is success.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
