# C1.Document.SecurityErrorEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_SecurityErrorEventArgs" data-uid="C1.Document.SecurityErrorEventArgs" class="text-break">SecurityErrorEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Defines parameters for a <a class="xref" href="C1.Document.C1DocumentSource.SecurityError.html">SecurityError</a> event.</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.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">SecurityErrorEventArgs</span></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_SecurityErrorEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SecurityErrorEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SecurityErrorEventArgs
    Inherits EventArgs</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_SecurityErrorEventArgs__ctor_System_String_System_Int32_" data-uid="C1.Document.SecurityErrorEventArgs.#ctor(System.String,System.Int32)">
          <a class="xref" href="C1.Document.SecurityErrorEventArgs.-ctor.html#C1_Document_SecurityErrorEventArgs__ctor_System_String_System_Int32_">SecurityErrorEventArgs(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.SecurityErrorEventArgs.html">SecurityErrorEventArgs</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_SecurityErrorEventArgs_FailedAttemptCount" data-uid="C1.Document.SecurityErrorEventArgs.FailedAttemptCount">
          <a class="xref" href="C1.Document.SecurityErrorEventArgs.FailedAttemptCount.html#C1_Document_SecurityErrorEventArgs_FailedAttemptCount">FailedAttemptCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of failed open attempts.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_SecurityErrorEventArgs_Path" data-uid="C1.Document.SecurityErrorEventArgs.Path">
          <a class="xref" href="C1.Document.SecurityErrorEventArgs.Path.html#C1_Document_SecurityErrorEventArgs_Path">Path</a>
        </td>
        <td class="markdown level1 summary"><p>Get the connection path accessing which caused the security error.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_SecurityErrorEventArgs_Retry" data-uid="C1.Document.SecurityErrorEventArgs.Retry">
          <a class="xref" href="C1.Document.SecurityErrorEventArgs.Retry.html#C1_Document_SecurityErrorEventArgs_Retry">Retry</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the <a class="xref" href="C1.Document.C1DocumentSource.html">C1DocumentSource</a> should retry
the operation which caused the security error.
The default value is <b>false</b>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
