# GrapeCity.ActiveReports.AR.Data.DataSourceException

## Content

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



  <h1 id="GrapeCity_ActiveReports_AR_Data_DataSourceException" data-uid="GrapeCity.ActiveReports.AR.Data.DataSourceException" class="text-break">DataSourceException Class
</h1>
  <div class="markdown level0 summary"><p>Specialized exception for data source actions.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
    <div class="level2"><span class="xref">DataSourceException</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.AR.Data.html">GrapeCity.ActiveReports.AR.Data</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_AR_Data_DataSourceException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DataSourceException : Exception, ISerializable</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="GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_GrapeCity_ActiveReports_AR_Data_DataSourceException_Codes_" data-uid="GrapeCity.ActiveReports.AR.Data.DataSourceException.#ctor(GrapeCity.ActiveReports.AR.Data.DataSourceException.Codes)">
          <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.-ctor.html#GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_GrapeCity_ActiveReports_AR_Data_DataSourceException_Codes_">DataSourceException(Codes)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.html">DataSourceException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_GrapeCity_ActiveReports_AR_Data_DataSourceException_Codes_System_Exception_" data-uid="GrapeCity.ActiveReports.AR.Data.DataSourceException.#ctor(GrapeCity.ActiveReports.AR.Data.DataSourceException.Codes,System.Exception)">
          <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.-ctor.html#GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_GrapeCity_ActiveReports_AR_Data_DataSourceException_Codes_System_Exception_">DataSourceException(Codes, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.html">DataSourceException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_GrapeCity_ActiveReports_AR_Data_DataSourceException_Codes_System_String_" data-uid="GrapeCity.ActiveReports.AR.Data.DataSourceException.#ctor(GrapeCity.ActiveReports.AR.Data.DataSourceException.Codes,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.-ctor.html#GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_GrapeCity_ActiveReports_AR_Data_DataSourceException_Codes_System_String_">DataSourceException(Codes, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.html">DataSourceException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_System_String_" data-uid="GrapeCity.ActiveReports.AR.Data.DataSourceException.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.-ctor.html#GrapeCity_ActiveReports_AR_Data_DataSourceException__ctor_System_String_">DataSourceException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.html">DataSourceException</a> class with a specified error message.</p>
</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="GrapeCity_ActiveReports_AR_Data_DataSourceException_Code" data-uid="GrapeCity.ActiveReports.AR.Data.DataSourceException.Code">
          <a class="xref" href="GrapeCity.ActiveReports.AR.Data.DataSourceException.Code.html#GrapeCity_ActiveReports_AR_Data_DataSourceException_Code">Code</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the code.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
