# GrapeCity.Documents.Excel.AsyncCustomFunction.EvaluateAsync

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_AsyncCustomFunction_EvaluateAsync_" data-uid="GrapeCity.Documents.Excel.AsyncCustomFunction.EvaluateAsync*">EvaluateAsync Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_AsyncCustomFunction_EvaluateAsync_" data-uid="GrapeCity.Documents.Excel.AsyncCustomFunction.EvaluateAsync*"></a>
<h4 id="GrapeCity_Documents_Excel_AsyncCustomFunction_EvaluateAsync_System_Object___GrapeCity_Documents_Excel_ICalcContext_" data-uid="GrapeCity.Documents.Excel.AsyncCustomFunction.EvaluateAsync(System.Object[],GrapeCity.Documents.Excel.ICalcContext)">EvaluateAsync(object[], ICalcContext)</h4>
<div class="markdown level1 summary"><p>Calculate the function asynchronously.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected abstract Task&lt;object&gt; EvaluateAsync(object[] arguments, ICalcContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected MustOverride Function EvaluateAsync(arguments As Object(), context As ICalcContext) As Task(Of Object)</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.object">object</a>[]</td>
      <td><span class="parametername">arguments</span></td>
      <td><p>The value collection of the arguments</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.ICalcContext.html">ICalcContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>The context of the calculation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</td>
      <td><p>The result of the function.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
