# GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot__ctor_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.#ctor*">ReportSnapshot Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot__ctor_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot__ctor_GrapeCity_ActiveReports_Core_Rendering_Data_ReportDataSnapshot_System_String_GrapeCity_ActiveReports_Core_Rendering_Data_SubreportsInfo_System_String_System_String_System_Collections_Generic_Dictionary_System_String_System_Collections_Generic_List_GrapeCity_ActiveReports_Core_Rendering_Data_ReportParameterInfo_System_Object____GrapeCity_ActiveReports_Core_Rendering_Data_ReportSlicerState___" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.#ctor(GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot,System.String,GrapeCity.ActiveReports.Core.Rendering.Data.SubreportsInfo,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{GrapeCity.ActiveReports.Core.Rendering.Data.ReportParameterInfo{System.Object}}},GrapeCity.ActiveReports.Core.Rendering.Data.ReportSlicerState[])">ReportSnapshot(ReportDataSnapshot, string, SubreportsInfo, string, string, Dictionary&lt;string, List&lt;ReportParameterInfo&lt;object&gt;&gt;&gt;, ReportSlicerState[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.html">ReportSnapshot</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ReportSnapshot(ReportDataSnapshot data, string template = null, SubreportsInfo subreports = null, string evaluationMessage = null, string signature = null, Dictionary&lt;string, List&lt;ReportParameterInfo&lt;object&gt;&gt;&gt; parameters = null, ReportSlicerState[] slicers = null)</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="GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot.html">ReportDataSnapshot</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>The data required to render the report.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">template</span></td>
      <td><p>The main report RDL (Report Definition Language) template.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.SubreportsInfo.html">SubreportsInfo</a></td>
      <td><span class="parametername">subreports</span></td>
      <td><p>A collection of RDL templates for subreports, if any.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">evaluationMessage</span></td>
      <td><p>An optional message providing context or status from report evaluation.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">signature</span></td>
      <td><p>The digital signature used to verify the snapshot’s integrity and authenticity.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.ReportParameterInfo-1.html">ReportParameterInfo</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;&gt;&gt;</td>
      <td><span class="parametername">parameters</span></td>
      <td><p>The values of the parameters used to generate the report.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSlicerState.html">ReportSlicerState</a>[]</td>
      <td><span class="parametername">slicers</span></td>
      <td><p>The initial states of any slicers (filters) applied to the report.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>Thrown if the <code class="paramref">data</code> parameter is <code>null</code>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
