[This is preliminary documentation and is subject to change.]
Scheduler class.
Scheduler class.
| C# | Visual Basic | Managed C++ | J# |
public class Scheduler : ServiceBase
Public Class Scheduler _ Inherits ServiceBase
public ref class Scheduler : public ServiceBase
public class Scheduler extends ServiceBase
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| SchedulerNew() |
Initializes a new instance of the Scheduler class.
| |
| AppPath |
The directory location of Scheduler.exe
| |
| AutoLog | Indicates whether to report Start, Stop, Pause, and Continue commands in the event log. (Inherited from ServiceBase.) | |
| CanHandlePowerEvent | Gets or sets a value indicating whether the service can handle notifications of computer power status changes. (Inherited from ServiceBase.) | |
| CanHandleSessionChangeEvent | Gets or sets a value that indicates whether the service can handle session change events received from a Terminal Server session. (Inherited from ServiceBase.) | |
| CanPauseAndContinue | Gets or sets a value indicating whether the service can be paused and resumed. (Inherited from ServiceBase.) | |
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| CanShutdown | Gets or sets a value indicating whether the service should be notified when the system is shutting down. (Inherited from ServiceBase.) | |
| CanStop | Gets or sets a value indicating whether the service can be stopped once it has started. (Inherited from ServiceBase.) | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides ServiceBase.Dispose(Boolean).) | |
| Disposed | Adds an event handler to listen to the Disposed event on the component. (Inherited from Component.) | |
| Equals(Object) | (Inherited from Object.) | |
| EventLog | Gets an event log you can use to write notification of service command calls, such as Start and Stop, to the Application event log. (Inherited from ServiceBase.) | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| ExitCode | Gets or sets the exit code for the service. (Inherited from ServiceBase.) | |
| Finalize() | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | |
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetService(Type) | (Inherited from Component.) | |
| GetType() | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| IsPaused |
Is the scheduler paused.
| |
| IsRunning |
Is the scheduler running.
| |
| MainThread |
The thread that is running Scheduler.
| |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| OnContinue() |
When implemented in a derived class, OnContinue() runs when a Continue command is sent to the service by the Service Control Manager (SCM). Specifies actions to take when a service resumes normal functioning after being paused.
(Overrides ServiceBase.OnContinue().) | |
| OnCustomCommand(Int32) | When implemented in a derived class, OnCustomCommand(Int32) executes when the Service Control Manager (SCM) passes a custom command to the service. Specifies actions to take when a command with the specified parameter value occurs. (Inherited from ServiceBase.) | |
| OnPause() |
When implemented in a derived class, executes when a Pause command is sent to the service by the Service Control Manager (SCM). Specifies actions to take when a service pauses.
(Overrides ServiceBase.OnPause().) | |
| OnPowerEvent(PowerBroadcastStatus) | When implemented in a derived class, executes when the computer's power status has changed. This applies to laptop computers when they go into suspended mode, which is not the same as a system shutdown. (Inherited from ServiceBase.) | |
| OnSessionChange(SessionChangeDescription) | Executes when a change event is received from a Terminal Server session. (Inherited from ServiceBase.) | |
| OnShutdown() |
When implemented in a derived class, executes when the system is shutting down. Specifies what should happen immediately prior to the system shutting down.
(Overrides ServiceBase.OnShutdown().) | |
| OnStart(String[]()) |
When implemented in a derived class, executes when a Start command is sent to the service by the Service Control Manager (SCM) or when the operating system starts (for a service that starts automatically). Specifies actions to take when the service starts.
(Overrides ServiceBase.OnStart(String[]()).) | |
| OnStop() |
When implemented in a derived class, executes when a Stop command is sent to the service by the Service Control Manager (SCM). Specifies actions to take when a service stops running.
(Overrides ServiceBase.OnStop().) | |
| RequestAdditionalTime(Int32) | Requests additional time for a pending operation. (Inherited from ServiceBase.) | |
| ServiceHandle | Gets the service control handle for the service. (Inherited from ServiceBase.) | |
| ServiceMainCallback(Int32, IntPtr) | Registers the command handler and starts the service. (Inherited from ServiceBase.) | |
| ServiceName | Gets or sets the short name used to identify the service to the system. (Inherited from ServiceBase.) | |
| Settings |
The settings.
| |
| Site | (Inherited from Component.) | |
| Stop() | Stops the executing service. (Inherited from ServiceBase.) | |
| ToString() | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| Object | ||||
| MarshalByRefObject | ||||
| Component | ||||
| ServiceBase | ||||
| Scheduler | ||||