Click or drag to resize
Task Scheduler Managed Class Library

ExecAction(String, String, String) Constructor

Creates a new instance of an ExecAction that can be added to Actions.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public ExecAction(
	string path,
	string arguments = null,
	string workingDirectory = null
)
Request Example View Source

Parameters

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.
See Also