# GrapeCity.SpreadBuilder.InvalidPasswordException.-ctor

## Content

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



<h1 id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor*">InvalidPasswordException Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor*"></a>
<h4 id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_System_String_" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor(System.String)">InvalidPasswordException(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the InvalidPasswordException class with a specific error message.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public InvalidPasswordException(string message)</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.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor*"></a>
<h4 id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor">InvalidPasswordException()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the InvalidPasswordException class with a default error message.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public InvalidPasswordException()</code></pre>
</div>


<a id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor*"></a>
<h4 id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.SpreadBuilder.InvalidPasswordException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">InvalidPasswordException(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the InvalidPasswordException class with serialized data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected InvalidPasswordException(SerializationInfo info, StreamingContext context)</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.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>The object that holds the serialized object data.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>Contextual information about the source or destination.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_InvalidPasswordException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This constructor is necessary for proper support of ASP.NET and .net remoting channels.</p>
</div>
</div>
