ActionCollectionAdd(String, String, String) Method
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public ExecAction Add(
string path,
string arguments = null,
string workingDirectory = null
)
- path String
- Path to an executable file.
- arguments String (Optional)
- Arguments associated with the command-line operation. This value can be null.
- workingDirectory String (Optional)
-
Directory that contains either the executable file or the files that are used by the executable file. This value can be null.
ExecActionThe bound
ExecAction that was added to the collection.