# C1.Win.GanttView.CalendarException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_CalendarException" data-uid="C1.Win.GanttView.CalendarException" class="text-break">CalendarException Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the working times (calendar) exception.</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="C1.Win.GanttView.WorkingTimes.html">WorkingTimes</a></div>
    <div class="level2"><span class="xref">CalendarException</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_CalendarException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(CalendarExceptionConverter))]
public class CalendarException : WorkingTimes, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(CalendarExceptionConverter))&gt;
Public Class CalendarException
    Inherits WorkingTimes
    Implements INotifyPropertyChanged, ICloneable</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_Win_GanttView_CalendarException__ctor" data-uid="C1.Win.GanttView.CalendarException.#ctor">
          <a class="xref" href="C1.Win.GanttView.CalendarException.-ctor.html#C1_Win_GanttView_CalendarException__ctor">CalendarException()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.GanttView.CalendarException.html">CalendarException</a>.</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_Win_GanttView_CalendarException_FinishDate" data-uid="C1.Win.GanttView.CalendarException.FinishDate">
          <a class="xref" href="C1.Win.GanttView.CalendarException.FinishDate.html#C1_Win_GanttView_CalendarException_FinishDate">FinishDate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the finish date of the calendar exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_LimitedBy" data-uid="C1.Win.GanttView.CalendarException.LimitedBy">
          <a class="xref" href="C1.Win.GanttView.CalendarException.LimitedBy.html#C1_Win_GanttView_CalendarException_LimitedBy">LimitedBy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the calendar exception ends after the specified
number of occurrences or by the given finish date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_Name" data-uid="C1.Win.GanttView.CalendarException.Name">
          <a class="xref" href="C1.Win.GanttView.CalendarException.Name.html#C1_Win_GanttView_CalendarException_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the calendar exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_NumberOfOccurrences" data-uid="C1.Win.GanttView.CalendarException.NumberOfOccurrences">
          <a class="xref" href="C1.Win.GanttView.CalendarException.NumberOfOccurrences.html#C1_Win_GanttView_CalendarException_NumberOfOccurrences">NumberOfOccurrences</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of occurrences after which the calendar exception ends.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_RecurrencePattern" data-uid="C1.Win.GanttView.CalendarException.RecurrencePattern">
          <a class="xref" href="C1.Win.GanttView.CalendarException.RecurrencePattern.html#C1_Win_GanttView_CalendarException_RecurrencePattern">RecurrencePattern</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the recurrence pattern for the calendar exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_Schedule" data-uid="C1.Win.GanttView.CalendarException.Schedule">
          <a class="xref" href="C1.Win.GanttView.CalendarException.Schedule.html#C1_Win_GanttView_CalendarException_Schedule">Schedule</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner <a class="xref" href="C1.Win.GanttView.CalendarException.Schedule.html#C1_Win_GanttView_CalendarException_Schedule">Schedule</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_StartDate" data-uid="C1.Win.GanttView.CalendarException.StartDate">
          <a class="xref" href="C1.Win.GanttView.CalendarException.StartDate.html#C1_Win_GanttView_CalendarException_StartDate">StartDate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the start date of the calendar exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_Workday" data-uid="C1.Win.GanttView.CalendarException.Workday">
          <a class="xref" href="C1.Win.GanttView.CalendarException.Workday.html#C1_Win_GanttView_CalendarException_Workday">Workday</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the exception specifies a working day or a nonworking day.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_GanttView_CalendarException_ResetNumberOfOccurrences" data-uid="C1.Win.GanttView.CalendarException.ResetNumberOfOccurrences">
          <a class="xref" href="C1.Win.GanttView.CalendarException.ResetNumberOfOccurrences.html#C1_Win_GanttView_CalendarException_ResetNumberOfOccurrences">ResetNumberOfOccurrences()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.GanttView.CalendarException.NumberOfOccurrences.html#C1_Win_GanttView_CalendarException_NumberOfOccurrences">NumberOfOccurrences</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
