TaskEventWatcherFolder Property

Gets or sets the folder to watch.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[DefaultValueAttribute("\")]
public string Folder { get; set; }

Property Value

String
The folder path to watch. This value should include the leading "\" to indicate the root folder.

Exceptions

ArgumentExceptionThrown if the folder specified does not exist or contains invalid characters.

See Also