# GrapeCity.ActiveReports.Rendering.DataProcessing.Persistence.SnapshotSerializer.SaveAsync

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Rendering_DataProcessing_Persistence_SnapshotSerializer_SaveAsync_" data-uid="GrapeCity.ActiveReports.Rendering.DataProcessing.Persistence.SnapshotSerializer.SaveAsync*">SaveAsync Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_DataProcessing_Persistence_SnapshotSerializer_SaveAsync_" data-uid="GrapeCity.ActiveReports.Rendering.DataProcessing.Persistence.SnapshotSerializer.SaveAsync*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_DataProcessing_Persistence_SnapshotSerializer_SaveAsync__1_System_IO_Stream___0_System_Threading_CancellationToken_" data-uid="GrapeCity.ActiveReports.Rendering.DataProcessing.Persistence.SnapshotSerializer.SaveAsync``1(System.IO.Stream,``0,System.Threading.CancellationToken)">SaveAsync&lt;T&gt;(Stream, T, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Async save snapshot to specified stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Task SaveAsync&lt;T&gt;(Stream output, T data, CancellationToken token)</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.io.stream">Stream</a></td>
      <td><span class="parametername">output</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">T</span></td>
      <td><span class="parametername">data</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
      <td><span class="parametername">token</span></td>
      <td></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">Task</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
