Class WindowsScheduledTaskExecuteAction
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an action to execute on a Windows scheduled task.
public class WindowsScheduledTaskExecuteAction : WindowsScheduledTaskAction
- Inheritance
-
WindowsScheduledTaskExecuteAction
Constructors
WindowsScheduledTaskExecuteAction()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsScheduledTaskExecuteAction class.
public WindowsScheduledTaskExecuteAction()
Properties
Arguments
Gets or sets the command line arguements that this task is configured to use - for example "/s /f /t:60".
public string Arguments { get; set; }
Property Value
Command
Gets or sets the command that is to be executed by this scheduled task.
public string Command { get; set; }
Property Value
FullCommand
Gets the command and optionally the command line arguments of this execute action.
public string FullCommand { get; }
Property Value
WorkingDirectory
Gets or sets the working directory that the application should use.
public string WorkingDirectory { get; set; }
Property Value
Methods
ToString()
Returns the command and optionally the command line arguments, and working directory of this execute action.
public override string ToString()
Returns
- string
The execute action command and arguments.