# C1.Document.SecurityException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_SecurityException" data-uid="C1.Document.SecurityException" class="text-break">SecurityException Class
</h1>
  <div class="markdown level0 summary"><p>Represents an exception caused by invalid credentials used in <a class="xref" href="C1.Document.C1DocumentSource.html">C1DocumentSource</a> 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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
    <div class="level2"><span class="xref">SecurityException</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="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_SecurityException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SecurityException : Exception, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SecurityException
    Inherits Exception
    Implements 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="C1_Document_SecurityException__ctor_System_String_System_Exception_" data-uid="C1.Document.SecurityException.#ctor(System.String,System.Exception)">
          <a class="xref" href="C1.Document.SecurityException.-ctor.html#C1_Document_SecurityException__ctor_System_String_System_Exception_">SecurityException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.SecurityException.html">SecurityException</a> class.</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="C1_Document_SecurityException_Path" data-uid="C1.Document.SecurityException.Path">
          <a class="xref" href="C1.Document.SecurityException.Path.html#C1_Document_SecurityException_Path">Path</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the connection path that caused the current exception.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
