# C1.Schedule.Action

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_Action" data-uid="C1.Schedule.Action" class="text-break">Action Class
</h1>
  <div class="markdown level0 summary"><p>Represents an action to take when the current system time reaches
the start of the associated <a class="xref" href="C1.Schedule.Appointment.html">Appointment</a> object.</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"><span class="xref">Action</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.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_Action_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Action : ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Action
    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_Schedule_Action__ctor" data-uid="C1.Schedule.Action.#ctor">
          <a class="xref" href="C1.Schedule.Action.-ctor.html#C1_Schedule_Action__ctor">Action()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Action.html">Action</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Action__ctor_C1_Schedule_Appointment_" data-uid="C1.Schedule.Action.#ctor(C1.Schedule.Appointment)">
          <a class="xref" href="C1.Schedule.Action.-ctor.html#C1_Schedule_Action__ctor_C1_Schedule_Appointment_">Action(Appointment)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Action.html">Action</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Action__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.Schedule.Action.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="C1.Schedule.Action.-ctor.html#C1_Schedule_Action__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">Action(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Special constructor for deserialization.</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_Schedule_Action_Command" data-uid="C1.Schedule.Action.Command">
          <a class="xref" href="C1.Schedule.Action.Command.html#C1_Schedule_Action_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the command string for the action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Action_Enabled" data-uid="C1.Schedule.Action.Enabled">
          <a class="xref" href="C1.Schedule.Action.Enabled.html#C1_Schedule_Action_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value indicating
whether the action is enabled. Default value is True.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Action_Parameters" data-uid="C1.Schedule.Action.Parameters">
          <a class="xref" href="C1.Schedule.Action.Parameters.html#C1_Schedule_Action_Parameters">Parameters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets parameters used when the action is invoked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Action_ParentAppointment" data-uid="C1.Schedule.Action.ParentAppointment">
          <a class="xref" href="C1.Schedule.Action.ParentAppointment.html#C1_Schedule_Action_ParentAppointment">ParentAppointment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the owning <a class="xref" href="C1.Schedule.Appointment.html">Appointment</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Action_Type" data-uid="C1.Schedule.Action.Type">
          <a class="xref" href="C1.Schedule.Action.Type.html#C1_Schedule_Action_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Schedule.ActionTypeEnum.html">ActionTypeEnum</a> value determining
the type of action that will occur. Default value is ActionTypeEnum.ExecuteApplication.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
